What is the improvement to COND= in the latest version of MVS?

Answer Posted / krithiga hari

COND statement can be replaced with IF END IF statement.
In COND, if the condition is true then the step will be
bypassed.
In IF END IF, if the condition is true then the step will
get executed.

Is This Answer Correct ?    6 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are steplib and joblib?

725


I have a job called careerride and some steps in it as step1,step2. But I want to execute step2 before step1 ? How do I do that?

833


what is the difference between JES3 and JES2?

683


Does jcl support automatic restart?

761


When The Define Jcl Is Not Available, How Can You Get Information About A Vsam File's Organisation ?

748






Is condition checking possible in jcl?

722


How do you overcome this limitation ?

698


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

1039


when can a job time-out occur? How to overcome that?

753


What parameter of the job statement is used to limit the cpu time consumed by the job?

840


which utility is used to sort a file in jcl?

750


when does a dataset go uncataloged?

838


I have mainpgm(abc) this is the only cobol pgm(non-db2).And this pgm calling subpgm name "acd" this also only cobol(non- Db)and this pgm calling some other subpgm this pgm has cobol-db2 pgm. 1) IF you calling static mode how to run and how to compile? 2) IF you calling dynamic mode how to run and how to compile? plz suggestion me.

1953


What is one line to pass PARM from JCL to COBOL?

840


If a (+1) generation dataset is created in the first step of a job, how can it be referenced in later steps of the same job for input?

786