Answer Posted / fazrudeen
//COPY EXEC
PGM=FILEAID
//DD01 DD DISP=SHR,DSN=QU1DAAT.CLIP.VBINPUT.GDG
(0)
//DD01O DD DSN=QU1DAAT.MMMYY.CLIP.RAW.FILE,
// DISP=
(NEW,CATLG,DELETE),
// SPACE=(CYL,
(10,10),RLSE),
// DCB=
(DSORG=PS,RECFM=FB,LRECL=200,BLKSIZE=0)
//SYSIN DD
*
$$DD01 COPY
PADCHAR=X'40'
/*
//SYSOUT DD
SYSOUT=*
//SYSPRINT DD
SYSOUT=*
//*
| Is This Answer Correct ? | 3 Yes | 2 No |
Post New Answer View All Answers
what are JCLLIB and STEPLIB in JCL?
what happens in conversion stage in job processing?
What is the function of //jcllib statement?
a dd statement has 2 types of parameters. Name them?
I have a cobol db2 program(PGM A) where other program (PGM B) will call this program and passes some 50 fields data to PGM A. PGM A has some layout in which it receives the data from PGM B. And this layout has been copied in the linkage section pf PGM A. After getting the data, PGM A writes the data in a flat file in the same layout which it receives from PGM B. PGM B is a simple COBOL pgm. Please provide a JCL to run these programs.
How to execute 2nd and 4th steps among 5 steps in jcl proc?
what is JCL?
Name the parameters which can be used to limit the number of records written to a sysout dataset?
What is the use of disp parameter?
I want to join to input files and write the matching fields on to an output file but i dont want the output file a sorted one
How does jcl act on code(if you take a cobol program)?
What is the purpose of the dd keylen parameter?
What is job control language?
How to run cobol program using jcl?
How can a stopped job be started again?