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 report-item in COBOL?

0 Answers   Arigo Infotech,


how to submit a jcl by cobol program. clear me with an example.

3 Answers   HCL,


Can we use goto statement in inline_perform ?

5 Answers   IBM,


01 a pic s9(5) value '-12345' how it will be stored

7 Answers   ACS,


TYPES OF SORTINGS. which is more prefarable.

2 Answers   Syntel, TCS,


Explain the difference between an internal and an external sort, the pros and cons, internal sort syntax etc.

3 Answers  


How do you differentiate between cobol and cobol-ii?

0 Answers  


have in 100 records in a flat file i want to move records like 1,3,5,7,9,11,.. to Output file1 and 2,4,6,8,10,12,14 .. records moved to Output file2..Pls Provide real time answer..

5 Answers   TCS,


How to remove 2 duplicate records and copy only one using job control language?

0 Answers  


What are differences between COBOL and java ? why we are giving more preference to COBOL ?

3 Answers   TCS,


How can you pass values from COBOL program to non-COBOL programs?

2 Answers  


If my program receives input feed from program in other system.. if the receiving field size is less than the sending field.. what abend will be happening.

1 Answers   HCL,


Categories