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 |
Can we Execute a job without specifying Job Name in the Job Card?
What is the parameter to be passed in the job card for the unlimited time , irrespective of the job class ?
hi iam learning mainframes,can anybody tell me how to check JCL errors.(after submiting the JCL we have check in spool or is there any other method)
How can u know the current date using jcl?
How do you create a temporary dataset?
what will be the error code if duplicate key of VSAM file is found?
what is static and dynamic call with examples?
what is JCL?
wht do u mean by inrec and outrec ?
restart logic ?
If a job has 3 steps and step 1 and step 3 should get executed and step 2 should not get executed irrespective of the return code from the previous steps. How can it be done?
How to fetch even records from one file to another file by using ICETOOL in JCL?