What is the difference between specifying DISP=OLD and
DISP=SHR for a dataset?
Answer Posted / shailendra 2008
disp=old means at the time of execution another job can't
use that file.after completion of job another job can use.
disp=shr at the timeof exection many user can use in read
mode.
| Is This Answer Correct ? | 19 Yes | 1 No |
Post New Answer View All Answers
WORKING-STORAGE SECTION. 77 W-A PIC 9(3)V99 VALUE 23.75. 77 W-B PIC ZZ9V99 VALUE 123.45. PROCEDURE DIVISION. MOVE W-A TO W-B. DISPLAY W-B. STOP RUN. compiler : IGYGR1080-S A "VALUE" clause literal was not compatible with the data category o subject data item. The "VALUE" clause was discarded. WORKING-STORAGE SECTION. 77 W-A PIC 9(3)V99 VALUE 23.75. 77 W-B PIC ZZ9V99. PROCEDURE DIVISION. MOVE 123.45 TO W-B. MOVE W-A TO W-B. DISPLAY W-B. STOP RUN. 2375
Mention the types of job control statements?
Is it possible to define dd statements as you want?
what is JCL?
What is the function of //cntl statement?
What is multithreading in jcl?
How can return codes be tested before execution of a job step?
How can unused space allocation be returned to the system when a dataset is closed?
Name what parameter directs the output of the job log dataset?
by using cond parameter maximum 8 cond can be coded in single cond means ?explain
What is the function of dd name parameter with a 2 part structure; audit.report?
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 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?
How to code these statements in JCL: CLEANUP INITIAL(NO) RESTART(NO) DYNALLOC(NO) job definition..?
what EXEC statement is and what is the syntax of EXEC statement used in JCL?