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 srange and nosrange pls reply to ths question ?

2 Answers   L&T,


What rules are to be followed while using the corresponding options?

0 Answers  


how to resolve the file status 47.......

1 Answers   MMM,


how many times PARA-A is performed : PERFORM PARA-A VARYING TIMES-COUNTER FROM 1 BY 1 UNTIL TIMES-COUNTER >0 PARA-A MOVE P TO Q MOVE H TO TIMES COUNTER a.10 b.1 c.11 d.0

4 Answers   TCS,


maximum of how many screens we can open in emulator

2 Answers  






hai friends ,i have HSBc exam on this sunday,my platform is Mainframe,i have 1 year exp,pls any one send me placement papers of Hsbc and technical questions on mainframe

6 Answers   Citi Bank, CitiGroup, HSBC, iNautix, Wipro,


i want to learn mainframes. i completed MCA ,whats the future of mainframes

5 Answers  


If you were passing a table via linkage, which is preferable - a subscript or an index?

3 Answers   TCS,


In the JCL, how do you define the files referred to in a subroutine ?

2 Answers  


How to display the index.(displacement from an array)

4 Answers   IBM,


what is jcl approach for programming?

4 Answers   IBM,


What will happen if we generate GDG (+2) version without generating (+1) version?

2 Answers   IBM, T systems,


Categories