If you were passing a table via linkage, which is
preferable - a subscript or an index?

Answers were Sorted based on User's Feedback



If you were passing a table via linkage, which is preferable - a subscript or an index?..

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

If you were passing a table via linkage, which is preferable - a subscript or an index?..

Answer / aji cherian

Sbscript

Is This Answer Correct ?    9 Yes 0 No

If you were passing a table via linkage, which is preferable - a subscript or an index?..

Answer / aji cherian

A subscript

Is This Answer Correct ?    5 Yes 0 No

Post New Answer

More COBOL Interview Questions

How does IDMS communicate with CICS?

1 Answers   Covansys, Satyam,


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

10 Answers   TCS,


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.

5 Answers   TCS,


what do you mean by copybook? and what is the difference between the copybook which we are using in working storage and procedure division.

3 Answers   HCL, TCS,


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?

4 Answers   iGate,






Describe the difference between subscripting and indexing ?

2 Answers  


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 ?

2 Answers  


how can u pass the values into db2 values from cobol ?

3 Answers   CTS,


What is the difference between Call and a Link?

0 Answers  


How to convert bunch of words in a line to relvant ASCII values?

2 Answers  


How to print 10 to 1 if the input have only 10 digit number?

0 Answers  


Is it possible to mutliply a comp variable with an comp-3 variable. Will there be any error if i do it?

3 Answers   IBM, UST,


Categories