Answer Posted / guest
//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 ? | 8 Yes | 3 No |
Post New Answer View All Answers
The disp in the JCL is MOD and the program opens the file in OUTPUT mode. What happens ? The disp in the JCL is SHR and the pgm opens the file in EXTEND mode. What happens ?
what is the difference between JES3 and JES2?
What is job control language?
what happens when COND is coded in JOB statement and when COND is coded inside EXEC statement?
how do you create a dataset in a jcl with the same file organisation as that of another existing dataset?
What are the rules employed while naming the steps in a job?
Suppose I have five jobs to do. But I want to hold one?
hello friends ,i have exam in Hsbc,pls any on send me placement papers and technical questions on mainframes,thank u
How can values be passed from the job stream to an executable program?
How to code these statements in JCL: CLEANUP INITIAL(NO) RESTART(NO) DYNALLOC(NO) job definition..?
How to override a dsn that is contained in a proc called by another proc? I need to do the override in the calling jcl?
I have a cobol db2 program(PGM A) where other program (PGM B) will call this program and passes some 50 fields data to PGM A. PGM A has some layout in which it receives the data from PGM B. And this layout has been copied in the linkage section pf PGM A. After getting the data, PGM A writes the data in a flat file in the same layout which it receives from PGM B. PGM B is a simple COBOL pgm. Please provide a JCL to run these programs.
What is the function of dd name parameter with a 2 part structure; audit.report?
What is catelog procedure and how many catelog procedure to use in one job?
How gdg are concatenated?