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



Scenario: I have 3 Input Files.Read the first i/p file and depending on certain business logic, I ..

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

Scenario: I have 3 Input Files.Read the first i/p file and depending on certain business logic, I ..

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

Post New Answer

More COBOL Interview Questions

What is Alternate Index ? How is it different from regular index ?

2 Answers  


SIGN TRAILING SEPARATE field occupy ?

3 Answers  


why 02 level number can't be use as a separate level number like 01 or 77 ?

3 Answers  


I have a occurs for 100 times but it has executed 101 time what could be the reason?

4 Answers  


I am getting S00F abend when i try to compare two variable of different pic class,one variable is of 9(09) and another is S9(09) comp-3. First i moved the data from S9(09) comp-3 to 9(09), but no luck. So i tried to move the data from S9(09) comp-3 to X (09) and move to 9(09). I am getting same error message, Please help me to find solution for this ptoblem. ERROR MESSAGE - "The system or user abend S00F R=NULL was issued."

1 Answers  






can any one give good example for cond 88 level number and for renames pls urgent dudes ?

3 Answers   DELL,


What are the different rules to perform a Search?

0 Answers  


INREC AND OUTREC? HOW TO SPLIT 5K RECORDS TO DIFFERENT FILES IN A FILE IN COBOL? RESTART IN COBOL-DB2? ISOLATION LEVELS?

0 Answers  


Can we use redefine clause in occurs clause?

10 Answers  


COBOL Snippet: Tell where the control will when the below code execute IF (A=B) CONTINUE ELSE NEXT SENTENCE PERFORM <IMP-STMT> END-IF.

7 Answers   HCL,


How to read the last 100 records from a COBOL file. The file contains N number of records.

11 Answers   IBM,


What is EIBCALEN? Why it is used?

9 Answers   ADP,


Categories