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
How to compare two files in SYNCSORT and on the mismatch record should be deleted from second file.
What is the function of the steplib dd statement?
What are the 4 fields in dd statement?
Suppose there are 2 Input files Infile-1 and Infile-2. Both the Files contain Employee Records. You need to compare both the files and Write the Common Records in third file named Outfile. How can we do this using File-Aid?
What is concatenating?
by using cond parameter maximum 8 cond can be coded in single cond means ?explain
Are there any set of rules for the names of the steps used in a job? What are they?
in ways data can be passed to a COBOL program from JCL?
what is the purpose of coding class parameter in job statement?
what is use of dcb parameter in dd statement?
Explain about LMFREE�free data set from its association with data ID
how do you create a dataset in a jcl with the same file organisation as that of another existing dataset?
Name a few IBM utility programs, and explain its function.
What is the significance of addrspc parameter in the exec statement?
What does a disposition of (new,catlg,keep) for a dsn mean?