If you were passing a table via linkage, which is
preferable - a subscript or an index?
Answers were Sorted based on User's Feedback
Answer / rama krishna
Since, index is not part of Working-Storage section, you
can not pass the value of index via linkage section. Hence,
you have to always use subscripts...
Is This Answer Correct ? | 18 Yes | 1 No |
How does IDMS communicate with CICS?
consider the following piece of code 01 GROUP-ITEM 05 AMOUNT-1 PIC 99V9 USAGE COMP VALUE 50 05 AMOUNT-2 PIC 9(4)V99 USAGE COMP MOVE ZERO TO GROUP-ITEM ADD 50 TO AMOUNT-1 what will be the content of AMOUNT-1? a.50 b.100 c.0 d.unpredictable
How to read records in reverse order in flat file? I know we can do it by reading all records into an array.... Then read records in reverse order by using subscript or index but can any body give me the exact code.
what do you mean by copybook? and what is the difference between the copybook which we are using in working storage and procedure division.
WE HAVE 2 FILES IN COBOL. ONE IS FIXED LENGTH RECORDS ANOTHER ONE IS VARIABLE LENGTH. IF I DECLEAR LRECL OF FIXED ONE AS 80 AND 2ND RECORD AS 132. WHAT WE NEED TO DECLEAR LRECL FOR THOSE 2 FILES IN JCL?
Describe the difference between subscripting and indexing ?
i have n records in one file and in this file there is some fields and i want to count that how many sharma in my file so plz give the coding that how we read sharma ?
how can u pass the values into db2 values from cobol ?
What is the difference between Call and a Link?
How to convert bunch of words in a line to relvant ASCII values?
How to print 10 to 1 if the input have only 10 digit number?
Is it possible to mutliply a comp variable with an comp-3 variable. Will there be any error if i do it?