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...

how to convert a file form fixed Length to variable length?

Answer Posted / harsh

//FBVB JOB A92,PROGRAMMER
//S1 EXEC PGM=SORT
//SYSOUT DD SYSOUT=*
//SORTIN DD DSN=A123456.SORT.SAMPIN,DISP=SHR
//VBOUT DD DSN=A123456.SORT.VSAMP,DISP=(NEW,CATLG,DELETE),
// UNIT=3390,SPACE=(CYL,(5,5))
//SYSIN DD *
OPTION COPY
OUTFIL FNAMES=VBOUT,FTOV
/*

Is This Answer Correct ?    9 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

hello friends ,i have exam in Hsbc,pls any on send me placement papers and technical questions on mainframes,thank u

2138


Is condition checking possible in jcl?

1207


How is a type of file defined in the jcl that executes the cobol program?

1186


what JCL Procedures?

1246


What do you understand by the term “keyword” with respect to jcl and what is the opposite of the term?

1137


Explain how can a stopped job be started again?

1133


Why block size is multiple of lrecl in jcl?

1400


What is the function of dd disp parameter?

1128


Explain about LMQUERY�give a dialog information about a data set

1438


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

1481


We can use PASS with permanent datasets also. THEN Which is the condition in which we may use PASS (instead of KEEP) with permanent data sets, while there is no need to specify UNIT and VOL for them like temporary data sets (in cas we use KEEP for permanent data sets) ?

2404


what happens when COND is coded in JOB statement and when COND is coded inside EXEC statement?

1290


What is the difference between the positional and keyword parameters? Give examples.

1248


Suppose there are 2 Input files Infile-1 and Infile-2. Both the Files contain Employee Records. You need to compare both the files and Write the Common Records in third file named Outfile. How can we do this using File-Aid?

2751


Explain the purpose of dd dummy statement?

1205