Answer Posted / p.venkateswarao
IEBGENER is used to copy the data from one Physical
sequential(PS)dataset to another ps.
//aza048ex job class=a,msgclass=x,notify=&sysuid
//step exec pgm=iebgener
//sysut1 dd dsn=aza048.naveen.file1,disp=shr
//sysut2 dd dsn=aza048.naveen.file2,
// disp=(new,catlg,delete),
// dcb=(lrecl=80,blksize=800,recfm=fb),
// space=(trk,(10,10),rlse)
//sysprint dd sysout=*
//sysout dd sysout=*
//sysin dd *
/*
//
Here sysut1 is the input file and sysut2 is the output file
| Is This Answer Correct ? | 18 Yes | 3 No |
Post New Answer View All Answers
what is the purpose of coding notify parameter in job statement?
What is the function of the dd avgrec keyword in sms datasets?
Explain the function of //cntl statement?
what disp parameter we mention for creation of temporary dataset so that we can use it in later steps?
I HAVE A VB BLOCK WHICH IS USED AS INPUT IN COBOL CONATINING SOME RECORDS CAN I CHANGE THE FILE FROM VB TO FB?
Which statement is used to identify the private libraries in job?
What are the parameter we cannot use in procedure?
How to alter the parameters for the existing gdg?
Where & How Do You Code Identifier In Jcl?
What is the function of the dd mgmtclas keyword in sms datasets?
Where can program checkpoints be stored for use in a restart?
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?
Explain the job statement in jcl?
what are the types of abends that occur on job failure? And explain the possible causes of these
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) ?