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



i have a ps with two columns eno and ename , i need to copy eno column values in one ps and ename ..

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

Post New Answer

More JCL Interview Questions

How do You skip a Step In JCL?

9 Answers   HTC,


What are the rules employed while naming the steps in a job?

0 Answers  


How to send notification to multiple users through jcl???

8 Answers  


how you can access an uncataloged dataset in a JCL?

0 Answers  


I need exexution process for JCL programs

0 Answers  


I have 5 steps in my jcl ,I need to execute first three steps and then 2nd step again ,4th and 5th steps if rc of 2nd step is zero

1 Answers   ABC,


1) max no of steps with jcl job can execute 2) how many extentions r possible in sequencial files with job 3) what is set parameter will do 4)how to get syntax errors without sub 5) what is differ between error and abend 6) hw mvs knows who submitted the job and whoom it has to forward 7) what are the positinal parameters of data descripter

1 Answers   L&T,


What is timing concept in mainframe?

0 Answers  


How to find in aparticular step how many versions a paricular gdg base have?

4 Answers   TCS,


. What is the difference between the following statements : I) step#1 exec PGM=accpay ii) step#1 exec tbalance

1 Answers  


How Can we see all generations of a GDG ?

3 Answers   Polaris,


What is the difference b/w the CLASS,TIME,PRTY in jcl job card.

4 Answers   Syntel,


Categories