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 / 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 |
Post New Answer View All Answers
I have File 1 occurs 5 times with Employee-ID,Employee-Name,Employee-Dept (EEE and MECH). I have File 2 occurs 10 times with Employee-ID,Employee-Name,Employee-Dept (EEE,CIVIL,CHEMICAL and MECH). In FIle 1 and FIle 2 , for matching Employee-DEPT (Only MECH) , we need to move entire records from file1 to file 2. We should not use 2D array. Your help is needed here.
What is Pic 9v99 Indicates in COBOL?
i want a program using by if, evaluate , string, unstring, perform, occurs?
How do define dynamic array in cobol.
what is amode(24), amode(31), rmode(24) and rmode(any)?
How to get the last record in vsam file in cluster? And how can you get the kids file records into your cobol program?
In which area will you utilize 88 level items in cobol?
Why is it necessary that file needs to be opened in I-O mode for REWRITE?
what is search and searchall?what is the diffrence between them?give an best example?
For rewrite, why is it mandatory that file needs to be opened?
How to remove the spaces at the end of each record in the output file of variable length, via cobol program?
What is the difference between Call and a Link?
How do we get current date from system with century in COBOL?
example for sub strings ? and refernce modifications whit output pls
Hi pls anybody tell me about " ANALYSIS DOCUMENT PREPARATION AND ESTIMATION OF TASK " (in real time project)."I want to update a sequential file in my project" for that purpose i need both structures i mean analysis document and estimation of task.