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 / 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 |
How do you restart a step in JCL?
How can i execute 5th step without executing first 4 steps?
//ERFDS JOB //STEP1 //STEP2 //STEP3...COND=(4,LT) //STEP4 1.CONDITION IN STEP3 REFERS TO WHICH STEP'S RETURN CODE (STEP1 OR STEP2)? 2.IN ABOVE PROGRAM IF CONDITION SATISFIES IN STEP3 WHICH STEPS WILL EXECUTE?? AND WHY? IF CONDITION IN STEP3 SATISFIES
How to Enter The Spool Area In Real Time?
Must tape dataset definitions include vol=ser specifications?
What is the purpose and meaning of the TIME keyword and what JCL statement is it associated with?
if my GDG limit has been kept as 50 and if am trying to put 60 records.what would happen. will there be any abend for this scenario
Can we delete the data using IEFBR14 , IEBGENER??
What is the function of a dd statement?
I have 3 duplicate records in a file . I want to eliminate 1st, 2nd and copy 3rd one only . HOW ?
what is use of dcb parameter in dd statement?
Which dd parameters are required?