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 / anand
//NUAEA62T JOB ,'DAILY REPORTS',
// MSGLEVEL=(1,1),MSGCLASS=Q,
// CLASS=D,NOTIFY=&SYSUID
//STEP1 EXEC PGM=IEBGENER
//SYSOUT DD SYSOUT=*
//SYSPRINT DD SYSOUT=*
//SYSUT1 DD *
//SYSUT2 DD DSN=Test,DISP=SHR
/*
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
What is job control language?
what EXEC statement is and what is the syntax of EXEC statement used in JCL?
How to compare two files in SYNCSORT and on the mismatch record should be deleted from second file.
which utility is used to sort a file in jcl?
by using cond parameter maximum 8 cond can be coded in single cond means ?explain
what is the compile process of cobol program expalin with code
what is DSN in JCL and what are the parameters to declare the DSN?
Explain in DD statement what is the use of DCB parameter?
In sms datasets, what is the function of the dd avgrec keyword?
Step 1 RC 4 Step 2 Step 3 I want to know the COND parameter which can be coded in step 2 or 3. Step 2 should be executed based on Step 1 RC and Step 3 should not be executed based on step 1's RC
What is the function of a dd statement?
what is use of disp parameter in dd statement?
Explain the function of job statement in jcl?
if we want to use a gdg which is already created by some job, then how to use the reference of the last generation in a jcl?
In sms datasets, what is the function of the dd mgmtclas keyword?