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 are hierarchy levels in jcl?
What do you understand by the term “keyword” with respect to jcl and what is the opposite of the term?
whats SOC7?
i have 1000 records in input file and i want to sort it and the first 200 records to be placed in output file. how to do that??
in production region 100 steps are running,but i need to run only step5 without changing code how can i do it?
How to read and write a single record into a file. I would like to use it to enter a single 8-character piece of information and use it to put it into a variable for processing in JCL. Thank you
What is the difference between these two parameters? -> accounting information -> class how would it bring the differrence to a program?
Does the terms, JOBLOG, SPOOL and SYSOUT indicate the same thing, i.e., where JCL and JES messages and statements are written ?
While using SORT FILES =NONE,XSUM I am getting error "ICE172A E XSUM IS NOT SUPPORTED - USE ICETOOL SELECT IF APPROPRIATE"..I want to write duplicate records a a serparte file..how i can do tht?
wht is the d/f between positional parameter n keyword parameter ?
how JCL works?
by using cond parameter maximum 8 cond can be coded in single cond means ?explain