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.
Answer Posted / 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 |
Post New Answer View All Answers
what is the difference between COBOL2 AND COBOL390?
Explain the configuration section of a cobol program with examples of syntax.
Why do we code s9 (4) comp. Inspite of knowing comp-3 will occupy less space?
What is the difference between PIC 9.99 and PIC9v99?
What is the difference between Call and a Link?
How arrays can be defined in COBOL?
What is the Purpose of POINTER Phrase in STRING command in COBOL?
How do you code cobol to access a parameter that has been defined in jcl? And do you code the parm parameter on the exec line in jcl?
What is the difference between Global and External Variables?
What are declaratives and what are their uses in cobol?
how we sort two input files based on a common column and giving one o/p file please send me the coding logic?
Explain how will you differentiate between an internal and an external sort, the pros and cons, internal sort syntax etc
For rewrite, why is it mandatory that file needs to be opened?
What is the difference between perform … with test after and perform … with test before?
how do you define single dimensional array and multidimensional array in your cobol?