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 |
What methodology can be adapted to transfer data to a program that is coded using the exec statement?
how you can access an uncataloged dataset in a JCL?
Explain the function of a dd statement?
Can we browse or edit the GDG dataset if it is a tape entry?
What do you understand by jcl?
I have 3 duplicate records in a file . I want to eliminate 1st, 2nd and copy 3rd one only . HOW ?
Is it possible to define dd statements as you want?
How can u know the current date using jcl?
what is the default region size if I dont specify region parametre in my job card ( I know that if I specify region=0k or 0M, then the job will occupy all he available resources at the time of job execution), but I want to know the defult value for "region" paramatre.
what JCL Procedures?
What is Uncatalog dataset? How can we access/use them?
When a dataset is UNCATALOGED in a JOBSTEP, how to get its UNIT and VOL in JCL to refer in subsequent steps ?