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
in ways data can be passed to a COBOL program from JCL?
What does it mean by Restart and Checkpoint in JCL ? How are checkpoints being taken and what is their usage ? How to use Checkpoint macro on a JOBSTEP ?
what is DD statement is used in JCL?
hello friends ,i have exam in Hsbc,pls any on send me placement papers and technical questions on mainframes,thank u
How to resolve the error "WER488A JOIN CAPACITY EXCEEDED" I am using SYNCSORT with JOINKEYS to compare 2 files. I am Getting error - > WER488A JOIN CAPACITY EXCEEDED There are 2 files to be compared with about 2 million records each. LRECL is 3665. Can somebody give a pointer as to how to resolve this problem? I am using SYNCSORT with JOINKEYS to compare 2 files. I am Getting error - > WER488A JOIN CAPACITY EXCEEDED There are 2 files to be compared with about 2 million records each. LRECL is 3665. Can somebody give a pointer as to how to resolve this problem?
how can a gdg base be created in a jcl. What is the difference between empty and scratch parameter while defining/altering gdg base?
which parameter is used to check the syntax of a jcl without executing it?
What is the function of the dd avgrec keyword in sms datasets?
Name the statement which can be used to send data to another mvs jes3 node?
Explain dd statement in jcl?
what is DSN parameter and DISP parameter is used for?
What is the function of the dd mgmtclas keyword in sms datasets?
What are the parameter we cannot use in procedure?
what are the statements that are not valid to be included in an include statement?
What are the utility programs in jcl?