How can we increment subscript and index?
Answer Posted / naidu sekhar yandrapu
SUBCRIPT:
CAN BE INCREMENT OR DECREMENT USING ARITHMETIC OPERATIONS
INDEX:
CAN BE INCREMENT OR DECREMENT USING SET VERB
Is This Answer Correct ? | 12 Yes | 0 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
How to submit a jcl from cics?
how do you create a dataset in a jcl with the same file organisation as that of another existing dataset?
How can values be passed from the job stream to an executable program?
Many jcl statements contain specific values designed to direct and control the execution of the statement. What are these fields called?
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?
what are JCLLIB and STEPLIB in JCL?
Mention the types of job control statements?
Differentiate between addressing mode and run mode.
How dummy is used in jcl?
What is the purpose of the dd keylen parameter?
How to pass data to a program that is coded in an exec statement?
How jcl work to handle various input output file operations?
My Question is 1. How to cound no. of records in JCL. Please explain with an example. 2. How to execute only odd steps in JCL? I know EDIT TYPE = Inculde, Step Name = 1,3,5 and COND code for all even step. Anyone knows other than this.
Step 1 RC 4 Step 2 Step 3 I want to know the COND parameter which can be coded in step 2 or 3. Step 2 should be executed based on Step 1 RC and Step 3 should not be executed based on step 1's RC