Please give me the coding for converting VB to FB and FB to VB

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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is DSN in JCL and what are the parameters to declare the DSN?

718


how would you create a temporary dataset? And where will you use them?

768


how to do automated restart when a job abends?

854


What is the purpose of the dd keylen parameter?

724


Explain how can an in-stream dataset be terminated?

702






What statement marks the beginning of a job step; assigns a name to the step; identifies the program or catalogued or in-stream procedure to be executed in the step?

649


What are the jcl procedures?

645


how JCL works?

796


What is the function of dd disp parameter?

656


What is jcl in mainframe?

690


What do you understand by the term job time – out and how can you overcome that?

604


how you will the direct the data to spool using sysout option?

1765


Why block size is multiple of lrecl in jcl?

915


Explain the function of a dd statement?

659


Explain the jcl exec statement?

649