Hi Guyz,
My requirement is to empty out a PS file but not to delete.
How would I do that. Is there any Utility. If any other
way, plz answer. Thanks.
Answer Posted / bill cecchini
Use the dataset itself to get the required DCB attributes.
//STEP01 EXEC PGM=IEBGENER
//SYSUT1 DD DUMMY,DCB=USERID.DATASET
//SYSUT2 DD DSN=USERID.DATASET,DISP=SHR
//SYSPRINT DD SYSOUT=*
//SYSIN DD DUMMY
| Is This Answer Correct ? | 6 Yes | 1 No |
Post New Answer View All Answers
How can values be passed from the job stream to an executable program?
Where can program checkpoints be stored for use in a restart?
What is multithreading in jcl?
have in 100 records in a file i want to read first 3 records and skip next 3 records and agan i want to read 3 records and again i want to skip 3 records... run a loop from record one to 10 evaluate i/3 if comes even then skip else write to output file
in order to execute step2 a job after a return code of 8 in step1, what condition you will code in step2?
Which dd parameters are required?
Is condition checking possible in jcl? If yes, how?
What is concatenating?
How to remove the spaces at end of each record in the output file Via COBOL program? note: The file has a VB length ----TRY
What happens if both JOBLIB & STEPLIB is specified ?
In sms datasets, what is the function of the dd avgrec keyword?
How do you run a COBOL batch program from a JCL? How do you run a COBOL/DB2 program?
What statement can be used to send data to another mvs jes3 node?
Does jcl support automatic restart?
Immediate Job opening for mainframe professionals in Keane Bangalore. Please find the below details: Organization: Keane India Location: Bangalore Skill: COBOL, JCL,VSAM,DB2,CICS,IMS,REXX,CLIST Exp: 1 to 4 years only Employment Type: Permenant Employee Note: If you have attended keane interview in past 6 months please ignore this job opening. Please respond to email id keanemfjob@gmail.com OR keanemfjob@yahoo.in with your latest resume and following details, We will contact you within 24 hours: Total IT Exp: Exp in Mainframe: Current CTC: Expected CTC: Notice Period: