In an array processing what is the thing that can be done
by using subscripts but not by using index
Answers were Sorted based on User's Feedback
Answer / yuvaevergreen
hi,
Incrementing or decrementing is possible in subscripting
using - or + whereas the same operation in indexing is
possible is achieved by using SET statement.
| Is This Answer Correct ? | 8 Yes | 0 No |
Answer / nimi
subscripted array can be passed to a sub program whereas indexed array cannot be.
| Is This Answer Correct ? | 0 Yes | 0 No |
Is It Possible to Update or change in VIEW Mode?
here is my requirement A1 is alphanumeric with value 'A1B2C3D4' as defined below 05 A1 PIC X(8) VALUE IS 'A1B2C3D4' but i need to have A2,A3 as ABCD & 1234 repectively...... A2 = ABCD A3 = 1234 Can you please explain me what are the different ways to do it?
9(2).99 how many bytes take? Why . consider as a byte?
can we use the two 01 level in file discription ?
I have a Main Program which is calling Sub-Program which is a DB2 pgm. What will happen if I am not closing the cursor used in the Sub-program? Please advise..
Can the OCCURS clause be at the 01 level?
How include time & date in the report generation in cobol programing?
There are 5 fields and 1000 records in a file. Unload it into an array. Write the syntax for declaration and how will you unload it.
db2 variable decimal(15,2) what is the equalent size of cobol variable
What are the various section in data division and briefly explain them.
how we can reverse the string in the cobol for example satheesh can be reveresed as hseehtas
i want to use only first 100 records from a file.plz tell me how to write JCL for this(for read,copy,write operations).plz give me details of all posible JCL utilities?