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 is qualification on occurs clause?
in cobol perform stmt whether it first checks the condition or not
what is the advantage of sync class
What are decleratives in COBOL ?
What are the various section in data division and briefly explain them.
what is the minimum number of lines a Cobol program should have to successfully compile and run
11 Answers ABC, Societe Generale,
What are the differences between COBOL and COBOL II?
I have files that contains both duplicates files(occur more than twice) and non-duplicate files.The file is already sorted by a key.I want to determine those records that are duplicate and will be move to a duplicate file and non- duplicate files to be move to a valid file.thank you.help please
How do you reference the following file formats from cobol programs?
How to read the last 100 records from a COBOL file. The file contains N number of records.
What does EXIT do ?
How can I tell if a module is being called DYNAMICALLY or STATICALLY?