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


Please Help Members By Posting Answers For Below Questions

How can the attributes of one sms dataset be copied to another dataset?

867


Is it possible to code instream data in a PROC?

758


what is a jcl?

695


How do you overcome this limitation ?

702


//S10 EXEC PGM=ICETOOL //TOOLMSG DD SYSOUT=* //DFSMSG DD SYSOUT=* //CON DD DSN=VAR.INPUT1,DISP=SHR // DD DSN=VAR.INPUT2,DISP=SHR //OUT DD DSN=VAR.OUTPUT,DISP=(NEW,CATLG,DELETE), // SPACE=(CYL,(5,5)),UNIT=SYSDA //TOOLIN DD * * Splice the needed data from the two VB files together SPLICE FROM(CON) TO(OUT) ON(5,5,CH) WITHALL - WITH(12,5) WITH(22,20) VLENMAX /*

918






Brief description of inline procedure of jcl.

687


write a jcl to execute a job by 7:00 am on jan 20,1986?

704


how do you code a null statement?

782


Is condition checking possible in jcl? If yes, how?

742


what EXEC statement is and what is the syntax of EXEC statement used in JCL?

637


What are the 4 fields in dd statement?

746


in order to execute step2 a job after a return code of 8 in step1, what condition you will code in step2?

2073


List the different jcl statements that are not permitted in the procedures?

645


Explain the purpose of dd dummy statement?

677


why should SYSIN DD * statement should not be included inside a PROCedure snippet??? please answer this.. i need to know.

1954