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 compiler option would you use for dynamic linking?

2 Answers  


What is the difference between PIC 9.99 and 9v99 in COBOL?

0 Answers   SwanSoft Technologies,


input= ,,,, mainframe training ,,, hyderabad .... location.... output1=$ mainframe training in hyderabad location$ output2=**** mainframe training in hyderabad location ****. In this pgn when we give input considering the spaces the output is displayed in this format.Like in the place of ,,,, $ should be displayed likewise.So please helpmeout.

0 Answers  


What is the difference between a subscript and an index in a table definition?

3 Answers   TCS,


given the following piece of code: CALL SUB-PGM USING A, B, C. CALL SUB-PGM USING A, C, C. (a) Both CALL statements will always produce same result. (d) Both CALL statements may produce different result. (c) Compile-time error because SUB-PGM is a dataname. (d) Compile-time error because A, B, C are used twice.

2 Answers   TCS,






Can we move SPACES to numeric field and ZEROES to alphabetic field? If yes what are the way doing this?

6 Answers   T systems,


can we use variable picture clause as xx.99 in cobol.

3 Answers  


We have 3 programms A,B,C.In the middle of the program A the controls goes to program B and in the middle of the program B control wants to go program C,after completion of program C again control comes to program B and again after completion of program B control comes to program A.How the process will takes and what are the controls we use for that process.If it is possible anybody of you explain with example?

5 Answers   IBM,


what is meaning by design document? who can repared for this?

5 Answers   TCS,


I want ALL ERROR codes in VSAM

3 Answers   American Express, TCS,


WT R TECHNICAL MAINFRAME QUESTION ASKED IIN ANJANASOFTEARE??

1 Answers  


how many bytes do SPPPP999 will store?

18 Answers  


Categories