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
Differentiate between addressing mode and run mode.
Name what parameter directs the output of the job log dataset?
how do you code a null statement?
Can anybody tell what is tool used to generate the list of PROCS used in JCL to generate a PROCTREE
which utility is used to sort a file in jcl?
what happens in execution stage in job processing?
How is the record format of an output dataset specified?
which utility is used a dummy utility?
Explain in DD statement what is the use of DCB parameter?
List the different components of jcl statement?
What is the function of //jcllib statement?
The disp in the JCL is MOD and the program opens the file in OUTPUT mode. What happens ? The disp in the JCL is SHR and the pgm opens the file in EXTEND mode. What happens ?
Explain how can an in-stream dataset be terminated?
when can a job time-out occur? How to overcome that?
hello friends ,i have exam in Hsbc,pls any on send me placement papers and technical questions on mainframes,thank u