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


Please Help Members By Posting Answers For Below Questions

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

1265


How to submit a jcl from cics?

882


how do you create a dataset in a jcl with the same file organisation as that of another existing dataset?

1080


How can values be passed from the job stream to an executable program?

1104


Many jcl statements contain specific values designed to direct and control the execution of the statement. What are these fields called?

976


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?

925


what are JCLLIB and STEPLIB in JCL?

895


Mention the types of job control statements?

919


Differentiate between addressing mode and run mode.

793


How dummy is used in jcl?

855


What is the purpose of the dd keylen parameter?

926


How to pass data to a program that is coded in an exec statement?

1069


How jcl work to handle various input output file operations?

883


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.

2213


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

4580