![]() Related Questions The linkage section is part of a called program that 'links' or maps to data items in the calling program's working storage. It is the part of the called program where these share items Latest Answer : This section allows a COBOL program to receive values from JCL. Also, if you are calling a sub-program and you require some values to be passed between them, then this is the section that should be used.Thus in a short, this section allows a value to ... A subscript is a working storage data definition item, typically a PIC (999) where a value must be moved to the subscript and then incremented or decremented by ADD TO and SUBTRACT FROM statements. An Latest Answer : We can use up by 1/down by 1 in Index but in Subscript we should keeping adding 1. ... 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 Latest Answer : We can pass subscript by linkage section. index cant. ... Latest Answer : (1) WORKING STORAGE SECTION is used to declare internal data items that is used in the same program.(2) LINKAGE SECTION is used to declare data items that we want to share with other program. ... Can we fetch select in working storage section variables directly without using the host variables? Read Answers (5) | Asked by : Abhishek mangal A place to reserve storage for data that is not part of the program's input or output. This area contains fields that are used as temporary storage while the program is executing. Some temporary storage Latest Answer : you need the section to define all your variables.But you don´t have to hardcode. You can copy a copybook, where you´re variables are inside. let me know, if you need more details. ... Latest Answer : Yes, by using INSPECT eg., INSPECT variable REPLACING LEADING ZEROS BY SPACES. ... Read Answers (1) | Asked by : v.Bharathi dasan Consider the follwing snippet:01 WS-VAR USAGE IS INDEXIs this a valid working storage definition?Justify your answer Latest Answer : 01 WS-VAR USAGE IS INDEX.it is a valid working storage definition. We can use this variable to store displacement value of another table index. Like normal table index it cannot be used in any computataions and terminal control statements.Thanks,Narender ...
Sponsored Links
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||