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.
Answers were Sorted based on User's Feedback
Answer / keshireddy
I guess Q is not clear..
If you want the task to complete with Cobol module within
one JCL step it can be done.
If task has to complete with JCL then you need to tell the
business logic. If anything like filtering.. then with 3
steps it can be done.
| Is This Answer Correct ? | 7 Yes | 0 No |
Answer / prachi
It depends on business logic..
If you can perform all these operation in one program you
can put it in one step in JCL.
| Is This Answer Correct ? | 0 Yes | 0 No |
What are the different rules of SORT operation?
Difference between lrecl, blksize among PS, PDS issues? i.e in jcl at dcb
) what is the difference between AID and HANDLE AID?
What is the difference between write & move in COBOL?
What is CALL statement in COBOL?
How do you do in-line PERFORM?
Can printer files (having 133 characters) be of variable length?
i have n records in one file and in this file there is some fields and i want to count that how many sharma in my file so plz give the coding that how we read sharma ?
What type of SDLC u followed? Why?
have in 100 records in a file i want to move only matched records to one output_file1 and nonmathed records are moved to another output_file2 ... any one can provide logic code
Why we need to use redefine clause when we can define the variable seperately... what is actual need....
What is link edit in cobol?