Please give me the coding for converting VB to FB and FB to VB
Answers were Sorted based on User's Feedback
Answer / sr
//STEP1 EXEC PGM=SORT
//SYSOUT DD SYSOUT=*
//SORTIN DD DSN=SDS.OUTPUT.FBVB,DISP=SHR
//OUT1 DD DSN=SDS.OUTPUT.VBFB,
// DISP=(NEW,CATLG,DELETE),UNIT=SYSDA,
// SPACE=(TRK,(5,5)),
// DCB=(RECFM=FB,LRECL=80)
//SYSIN DD *
OPTION COPY
OUTFILE FNAMES=OUT1,VTOF,OUTREC=(5,80)
/*
SDS.OUTPUT.FBVB is a VB file of Record length=
84
| Is This Answer Correct ? | 4 Yes | 1 No |
Answer / allu prakash
//STEP1 EXEC PGM=SORT
//SYSOUT DD SYSOUT=*
//SORTIN DD DSN=SAS12D.G4662V00.TEST,DISP=SHR
//SORTOUT DD DSN=GGJ67D.TEST4,
// DISP=(NEW,CATLG,DELETE),
// SPACE=(TRK,(10,10),RLSE),
// RECFM=FB,LRECL=10,DSORG=PS
//SYSIN DD *
OPTION VLSHRT
SORT FIELDS=COPY
INCLUDE COND=(89,1,CH,EQ,C'Y',AND,5,3,ZD,EQ,120)
OUTREC FIELDS=(8,2,PD,EDIT=(TTTTTTTTTT))
i hope this is the right to convert the VB TO FB..let me
know if the given answer is wrong......
| Is This Answer Correct ? | 3 Yes | 4 No |
Answer / harsha
Important point is VB file will have 4 bytes extra than
it's corresponding FB file.
The four bytes contain catalog information of the file.
| Is This Answer Correct ? | 2 Yes | 4 No |
how to compress the data set
When The Define Jcl Is Not Available, How Can You Get Information About A Vsam File's Organisation ?
Is it possible to take a PDS and write it to a GDG? If so, can you provide an example? Thanx
How to delete generations of gdg without deleting gdg base?
how to convert a file form fixed Length to variable length?
in jcl you are having JCLLIB and STEPLIB what happens
What does it mean by Restart and Checkpoint in JCL ? How are checkpoints being taken and what is their usage ? How to use Checkpoint macro on a JOBSTEP ?
the command to open a dataset directly from the JCL instead of opening it separately using 3.4 option.
once we submitted the job to the operating system, how can we cancel the job before execution?
In jcl i have 255 steps. In 255 step i declared proc. In proc i have 20 steps this job is executable or not? why?
How do you designate a comment in JCL?
What are the differences between JES2 & JES3 ?