i have a ps with two columns eno and ename , i need to copy
eno column values in one ps and ename column values in one
Ps ? is it possible through iebgener . how ? thx in advance
Answer Posted / krishna
//job card
//step1 exec pgm=IEBGENER
//SYSUT1 DD DSN=SOURSE, DISP= SHR
//SYSUT2 DD DSN=ENODATASET , DISP=SHR
//SYSIN DD *
PRINT MAXFLDS=1
RECORD FIELD=("ENO COL LENGHT", 1, , 1)
//STEP2 EXEC PGM=IEBGENER
//SYSUT1 DD DSN=SORSES, DISP=SHR
//SYSUT2 DD DSN=ENAMEDATASET, DISP=SHR
//SYSIN DD *
PRINT MAXFLDS=1
RECORD FIELD=(ENAME LEGTH,STARIN POS, , 1)
| Is This Answer Correct ? | 14 Yes | 0 No |
Post New Answer View All Answers
Why include statement is used in a jcl?
What is the purpose of dd?
How can an in-stream dataset be terminated?
What is Cataloged Procedures?
A dd statement consists of 4 fields. Name them?
List the various advantages of using jcl language?
is there any way to execute more than one proc in the same exec statement at the same time..?
My Question is 1. How to cound no. of records in JCL. Please explain with an example. 2. How to execute only odd steps in JCL? I know EDIT TYPE = Inculde, Step Name = 1,3,5 and COND code for all even step. Anyone knows other than this.
When output dataset space is required, what quantity categories are used?
which utility is used to sort a file in jcl?
What are hierarchy levels in jcl?
What is the function of job statement in jcl?
what operation is performed by job statement?
I have a COBOL program that ACCEPTs some input data. How do you code the JCL statement for this?
what is JCL?