1.How to check for the errors using TYPRUN=SCAN?What will
be the output if we give TYPRUN=SCAN?
Answer Posted / mohamed khan
eg., I have a two steps in a Job -
Step 1 runs a program and Step 2 creates an outout file.
Now assume the output file(xxx.xxx)is already present.
If I give TYPRUN=SCAN, this will result in error , file
xxx.xxx already cataloged.
By doing this I save my time since I am alerted about the
file being cataloged before the program in step 1 was run.
(Though I will get the same error when i submit the job as
well)
Is This Answer Correct ? | 2 Yes | 1 No |
Post New Answer View All Answers
Is it possible to define dd statements as you want?
List the different jcl statements that are not permitted in the procedures?
How to find the UNIT and VOLUME of a (a) KEPT (b) UNCATALOGED and (c) CATALOGED dataset - using (i) JCL and using (ii) ISPF ?
How to alter the parameters for the existing gdg?
Are there any set of rules for the names of the steps used in a job? What are they?
What statement can be used to send data to another mvs jes3 node?
What are the difference between jcl and jes?
what is the resolution for sb37 error
what are the types of abends that occur on job failure? And explain the possible causes of these
I have a COBOL program that ACCEPTs some input data. How do you code the JCL statement for this?
Explain the function of job statement in jcl?
I have many files which i am receiving from client everyday. I have one step for every file to check for empty or not. Here client gives 30 files i need to check for every file for empty or not and i need to perform 30 steps. Can I do it in single step. Dynamically i need to change the File name in my step.
Is automatic restart possible in jcl? If yes, how?
Explain how can the disposition of sysout datasets be set for an entire jobstream?
WORKING-STORAGE SECTION. 01 GROSS-PAY. 05 BASIC-PAY PIC 9(5). 05 ALLOWENCES PIC 9(3). PROCEDURE DIVISION. MOVE 1000 TO BASIC-PAY. MOVE 250 TO ALLOWENCES. DISPLAY GROSS-PAY. STOP RUN. 77 W-A PIC 9(3)V99 VALUE 23.75 77 W-B PIC ZZ9V99 VLAUE 123.45 after the statement MOVE W-A TO W-B what will be W-B's value? a.123.75 b.b23.75 (where b indicates space) c.023.75 d.invalid move