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

Wake up - you haven't been paying attention! It's not possible to pass an index via linkage. The index is not part of the calling programs working storage. Those of us who've made this mistake, appreciate the lesson more than others.

Showing Answers 1 - 4 of 4 Answers

ramprasath

  • Jun 29th, 2005
 

hi, 
i would like to share my doubts in mainframe with others? can u help me to join any group who r al in mainframe area.?

  Was this answer useful?  Yes

pradeep

  • Oct 19th, 2005
 

it is better to pass values through index

  Was this answer useful?  Yes

John

  • Jan 24th, 2006
 

Pradeep,

Please don't forget that u cannot pass a Index via linkage section as it is not defined in the working storage section. It is something defined by the system.

  Was this answer useful?  Yes

kavithalaya

  • Jun 5th, 2006
 

We can pass subscript by linkage section. index cant.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions