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
which utility is used to sort a file in jcl?
How would you understand error(execution phase)?
what disp parameter we mention for creation of temporary dataset so that we can use it in later steps?
We can use PASS with permanent datasets also. THEN Which is the condition in which we may use PASS (instead of KEEP) with permanent data sets, while there is no need to specify UNIT and VOL for them like temporary data sets (in cas we use KEEP for permanent data sets) ?
Explain the purpose of the dd keylen parameter?
A dd statement consists of 4 fields. Name them?
What statement marks the beginning of a job step; assigns a name to the step; identifies the program or catalogued or in-stream procedure to be executed in the step?
in order to execute step2 a job after a return code of 8 in step1, what condition you will code in step2?
What do you know about jcl?
What are s0c1, s0c4, s0c5, s0c7 and socb?
Explain the purpose of dd * statement in jcl?
How can the attributes of one sms dataset be copied to another dataset?
How to do automated restart when a job abend?
I have many files which i am receiving from client everyday. I have one step for every file to check for empty or not. Here client gives 30 files i need to check for every file for empty or not and i need to perform 30 steps. Can I do it in single step. Dynamically i need to change the File name in my step.
How do you submit a job for execution?