What are the situations u have used in ur project for
Subcript and Index ?
1.if u use Subscript why not Index,why u choose Subscript
only?
2.if u use Index why not Subscript,what abt Displacement?
Answers were Sorted based on User's Feedback
Answer / app
SUBSCRIPT: No. of occurences of a table is called Subscript.
INDEX: The disposition of the element.
Index can be used in Table data searching and Sorting but
Subscript won't be useful for the above.
Subscript reperesents as a occurence no. it must be
converted to displacement value each time its used so.. it
is less efficent than index.
Is This Answer Correct ? | 4 Yes | 2 No |
Answer / talluri
---subcript is a occurence of arry element
---index is a displacement no of an array element
subcript is declared as a variable in wss but index declared
using index by clause
Is This Answer Correct ? | 1 Yes | 1 No |
I have dataset DS1 which has records say 1 2 3 4 5 ... ... etc And also I have second dataset DS2 whcih has records 1 3 4 5 6 8 .. ... Both the files are sorted and now I want to compare these files and write it into the third files if the records are matching.
How to delete the records of a dataset through cobol programme?We should not use jcl utilitities like IDCAMS.
What is 77 level used for ?
What rules are to be followed while using the corresponding options?
How to recover a deleted source physical file from library?
System Testing for Mainframe Developers What is System Testing? integration testing ? what's the procedure ..
What was removed from COBOL in the COBOL II implementation?
diffrence between z(2) and z9(2)
How do you get the data to code the BMS macro?
IDENTIFICATION DIVISION. PROGRAM-ID. MOVEPGM. DATA DIVISION. WORKING-STORAGE SECTION. 01 WS-I PIC 9(2). PROCEDURE DIVISION. A1000-MAIN-PARA. PERFORM PARA-X WITH TEST BEFORE UNTIL WS-I= 5 STOP RUN. PARA-X. DISPLAY "BEST2". I m getting error s722,while executing the program, seems getting in loop, can anybody tell me why
Why did you choose to work with ibm mainframe cobol programming?
1.What is the limit of linkage section?