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

Consider the below example call a-test1. -- -- -- a-test1. if a=b perform a-test through a-exit next sentence else if b=c perform c-test through c-exit. if a=d perform d-test through d-exit. a-test. -- -- a-exit. exit. can u tell me what will happen if a=b after looping into a-exit will the control go back to a- test1. will the condition a=d be checked???

5 Answers   IBM,


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 do u list the abended jobs?

1 Answers   IBM,


CAN ANY ONE HELP WHAT IS QTP? why it is nessery AND WEN IT IS USED?

1 Answers  


whats the disadvantage of search all over search?

4 Answers   Patni, TCS,






01 a pic 9(3) value is 123 01 b pic 9(6) move a to b wht will be the value ? and 01 a pic x(6) value is abc 01 b pic x(3) move a to b wht will be the value ?

7 Answers   Patni,


explain sorting techniques in cobol program?

0 Answers  


I am sending values a and b with pic x(10) and pic x(10) by using call statement. In linkage section, I am receiving values with pic x(10) and pic x(11). Will my program fail? will it be compile error or run time abend?

3 Answers  


How many bytes will be allocated for the following record description entries? 01 REC-A. 05 A PIC S9(4). 05 B PIC XXXBXXX. 05 C PIC ____9.99. 05 D PIC S9(5) COMP-3. 05 E PIC 9(3) COMP.

16 Answers   IBM, TCS,


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

0 Answers  


How to use the same COBOL program in Batch and CICS on lines? explain with an example

0 Answers   IBM,


What is the difference between COMP & COMP-3 ?

2 Answers  


Categories