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?

Answers were Sorted based on User's Feedback



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

Answer / 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

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

Answer / naga

In recfm=fb is fixed. instead of fb put vb in record format
is variable file,in variable file extra 4 byte control
information is added

Is This Answer Correct ?    8 Yes 1 No

Post New Answer

More JCL Interview Questions

How to copy one PS file to multiple PS files with same data?

1 Answers  


what are the ways of passing data to a cobol program from jcl?

1 Answers   IBM,


A job has 150 steps i want to execute only 57th step

3 Answers   Cognizant,


Hi, Say I have 10 flat files and I want to copy all these 10 flat files to a GDG versions flat files (I have GDG base: FDWS01.TEST.RESTORE) in one shot. Can we do that in one shot using a JCL. May be by using IEBGENER. It's a bit urgent. So anyone's fast rely would be appreciated.. Thanks in advance.. 10 flat files ----------------------------------- FDWS01.SUB.RESTORE1 FDWS01.SUB.RESTORE2 FDWS01.SUB.RESTORE3 ; ; FDWS01.SUB.RESTORE10 TO GDG versions ----------------------- FDWS01.TEST.RESTORE.G0001V00 FDWS01.TEST.RESTORE.G0002V00 FDWS01.TEST.RESTORE.G0003V00 ; ; FDWS01.TEST.RESTORE.G0010V00

4 Answers  


there are 10 steps in jcl how to execute the steps from step2 to step8 only

6 Answers   EDS,


How to pass data to a program that is coded in an exec statement?

0 Answers  


When we give TYPERUN = SCAN , what are the syntax errors we get?

5 Answers   Kanbay,


What are the common jcl syntax errors you get? This is not abends?

1 Answers  


What does the one advantange of using IEBUPDTE?????

2 Answers  


How can u know the current date using jcl?

2 Answers   iNautix, Wipro,


if we give two job cards in a single what happens

3 Answers   IBM,


if we compile the cobol+ db2 program now ofter 5 years we need to compile again?

1 Answers   TCS,


Categories