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 |
In file1 have 80 records are like d1,d2,d3......D80. File2 have 1000records are like a1d1,a1d2,a3d3.....Etc. I want matching records in file3 ? Plse tell me the matching logic???I want answer only in cobol ?Not using any tool or jcl?
If there are two files one with 100 records and other with 101 records. we have to find out the one record that is the odd man out . What are the steps to do it
what will be the output when a)pic 9(6)value 000178 is moved to pic ***,***. b)pic 9(5) value 57397 is moved to pic $$,$$9.
What is the difference between a subscript and an index in a table definition?
study the following code 01 A1 05 B PIC 99 05 C PIC X(4) 01 A2 05 B PIC 99V99 05 C PIC A(4) pick out the valid statement from the following a.A1 and A2 can not have sub-ordinates b.A1 and A2 can have the same sub-ordinates but must have same PIC clause c.there is nothing wrong d.A1 and A2 can have same sub-ordinates provided they are not at 01 level
hi dudes.....can any one help me..... what is SET TO TRUE all about,anyway?
if a pic 9(3) value 354,b pic x(2) value '46' then a)a>b 2)a<b 3)error
What is the different between index and subscript?
If we put three reads in COBOL in the same para one after the other, to read a PS file,will it read the same record thrice or it will read three records sequentially? For example : Input File 01 02 03 Para 900 Read infile Display Infile rec Read infile Display infile rec Read infile Display infile rec. What will be the output?
can you please let me know if there is any walkins for COBOL/PLI/DB2/IMS/JCL in pune other than IBM and ITC infotech
i was faced one question- i have value -00001234.56 Suppress the zeroes and the output should be -1234.56 But Not - 1234.56 spaces should not be available after suppressing the zeroes. logic in jcl and cobol?
What are options have been removed in COBOL 11?