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

In a COBOL II PERFORM statement, when is the conditional tested, before or after the perform execution?

3 Answers  


What is the difference between NEXT SENTENCE and CONTINUE?

2 Answers   Mphasis,


how to display the dataset information?

2 Answers  


What is the difference between comp and comp-3 usage? Explain other COBOL usage?s.

3 Answers   IBM, Xansa,


hi friends,can any one post the ibm mainframe inteqview questions for 1year exp candidate,for itc infotech interview?. have any body attended for this in the past?...

1 Answers   ITC Infotech,






is it mandatory to give data division before procedure division ? wht happens if i give procedure division first thn data division ? reply soon

2 Answers   Patni,


can we declare occurs in 01 level?

2 Answers   Temenos,


Write the code implementing the perform … varying.

0 Answers  


a pic s9(4) comp b pic s9(4) comp-3 c ???????????????? d ???????????????? move a to c add a+B giving d. what is ur declaration for c,d?

4 Answers  


which is better comp or comp-3 in terms of memory utilization?

6 Answers  


What is IMPACT analysis?

2 Answers   IBM,


is it possible to rename 01 level?

4 Answers  


Categories