MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

B14-04 Error while appending records

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Application Programming
View previous topic :: View next topic  
Author Message
Sridhar Reddy
Beginner


Joined: 17 Feb 2003
Posts: 6
Topics: 3

PostPosted: Mon Jun 02, 2003 2:57 pm    Post subject: B14-04 Error while appending records Reply with quote

When I am appending records to a member in PDS, Which is already present, I am getting B14-04 error. I gave Disp as SHR still I am facing the same problem.

When I give new member then it is working fine.

My program simply reads from Input file and appends records to Out-Put file and I opened output file in Extend mode

//INDGSWA JOB 06227T,
// INDGSW,
// NOTIFY=INDGSW,CLASS=A,
// MSGLEVEL=(1,1)
//STEP1 EXEC PGM=CK4LOG,PARM=(MERGME,DSS)
//STEPLIB DD DSN=SYS7.MDP.MDARNDS.LINKLIB,DISP=SHR
//INFILE DD DSN=LPGT.BAT.CNTL(POLMRGME),DISP=OLD
//OUTFILE DD DSN=INDGSW.LPGT.BAT.CNTL(LOG),DISP=OLD
//SYSOUT DD SYSOUT=X
//SYSPRINT DD SYSOUT=X
//SYSUDUMP DD SYSOUT=X
//*

Could help me in resolving this issue.

Thanks,
Sridhar Reddy.
Back to top
View user's profile Send private message Yahoo Messenger
Bill Dennis
Advanced


Joined: 03 Dec 2002
Posts: 579
Topics: 1
Location: Iowa, USA

PostPosted: Mon Jun 02, 2003 3:52 pm    Post subject: Reply with quote

You cannot append to an existing member! Copy out the existing data to a new file, add the new records, delete the old member and write the new member.

Bill
Back to top
View user's profile Send private message
Sridhar Reddy
Beginner


Joined: 17 Feb 2003
Posts: 6
Topics: 3

PostPosted: Tue Jun 03, 2003 5:49 am    Post subject: Reply with quote

Thanks for your help.

Sridhar Reddy.
Back to top
View user's profile Send private message Yahoo Messenger
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Application Programming All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group