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
Is it possible to left uncode disp? If yes, how?
Brief description of inline procedure of jcl.
how can a gdg base be created in a jcl. What is the difference between empty and scratch parameter while defining/altering gdg base?
Explain the jcl exec statement?
how you can direct the data to spool using SYSOUT option?
What is Cataloged Procedures?
When space is allocated for an output dataset, what units can be used?
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.
what is “Cond= even” and “Cond=only”?
how you can access an uncataloged dataset in a JCL?
Can anybody tell what is tool used to generate the list of PROCS used in JCL to generate a PROCTREE
Which statement is used to identify the private libraries in job?
What is the purpose of the dd keylen parameter?
What are the parameters that are used in creating a gdg?
what disp parameter we mention for creation of temporary dataset so that we can use it in later steps?