kolusu Site Admin
Joined: 26 Nov 2002 Posts: 12375 Topics: 75 Location: San Jose
|
Posted: Tue Aug 31, 2004 5:55 am Post subject: |
|
|
ashutosh_agl3,
Quote: | The purpose is to append file (if already there) else to create a new file. |
You need dynamic allocation in case the file does not exist. Why not handle this in JCL itself with IEFBR14
Code: |
//STEP0100 EXEC PGM=IEFBR14
//*
//MODFILE DD DSN=YOUR FILE IN QUESTION
// DISP=(MOD,CATLG,DELETE),
// UNIT=SYSDA,
// SPACE=(TRK,(1,1),RLSE)
// DCB=(LREC=ZZZ,RECFM=FB,BLKSIZE=0)
//*
|
Hope this helps...
Cheers
Kolusu _________________ Kolusu
www.linkedin.com/in/kolusu |
|