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

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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain dd statement in jcl?

639


What do we mean by 'Virtual storage' for a dataset and for a JOBSTEP ? What is the significance of the following statement for a programmer 'Virtual storage results in program addresses being independent of the addresses that actually exist in a computer' ?

1579


can any one plzzzzzz tell the jcl code for creating ps using idcams

10502


What is the purpose of dd?

724


Describe the various parameters utilized in the creation of a gdg?

680






how you can direct the data to spool using SYSOUT option?

918


what is the compile process of cobol program expalin with code

1996


write a jcl to execute a job by 7:00 am on jan 20,1986?

694


How would you understand error(execution phase)?

621


what is a jcl?

685


What is the format of comment statement?

662


Explain how can return codes be tested before execution of a job step?

819


which utility is used to sort a file in jcl?

745


How is the record format of an output dataset specified?

743


How to override loadlib?

1417