In COBOL, what is the different between index and subscript?
In a COBOL program, 2 tables TABLE1 and TABLE2 are defined that are indexed by INDEX1 and INDEX2 respectively. Can we use INDEX1 with TABLE2 and INDEX2 with TABLE1?
Scenario: I have 3 Input Files.Read the first i/p file and depending on certain business logic, I want to read wither i/p file-2 or i/p file-3.Now, depending on certain business logic applied to the record read from either file-2 or file-3, I decide to write them to either output file-2 or output file-2. Question: How many job steps are necessary to implement a solution for the above.
How to define a array dynamically.....
Can we use goto statement in inline_perform ?
created cluster using IDCAMS ..that is empty ..when i write a program for read using Input ..wil it open the cluster or gives any error?
what do you mean by copybook? and what is the difference between the copybook which we are using in working storage and procedure division.
where will u code file status ?
What will happen if we generate GDG +2 version instead of +1 version?
after udatingg first 110 rows, my job abends. now how do i change my cobol program so that when i restart the Job it will start updating from 111th row ( i.e in next run I di=ont want to update those 110 rows which are already been updated in the first run before job abend)
What is "Call by content" and "call by reference"?
What will happen if we move SPACES to numeric field and ZEROES to alphabetic field?
How to delete the records of a dataset through cobol programme?We should not use jcl utilitities like IDCAMS.