Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

what is “Cond= even” and “Cond=only”?

1267


What are the utility programs in jcl?

1122


How can an in-stream dataset be terminated?

1314


what is the use of JCL?

1126


How do you access an uncatalogued dataset in a jcl?

1183


What is the function of the steplib dd statement?

1162


What happens if both JOBLIB & STEPLIB is specified ?

1111


When The Define Jcl Is Not Available, How Can You Get Information About A Vsam File's Organisation ?

1203


How can the submitting users racf authority be overridden in a job stream?

1234


Explain the purpose of the dd keylen parameter?

1115


What are some jcl statements that are not allowed in procedures?

1200


If a (+1) generation dataset is created in the first step of a job, how can it be referenced in later steps of the same job for input?

1266


How can unused space allocation be returned to the system when a dataset is closed?

1439


Mention the types of job control statements?

1135


what sort card you will use to copy the data from one dataset to another dataset?

1167