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
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 |
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 |
What R 2 of the common forms of the EVALUATE STATEMENT ?
There is a variable with value 19446. Requirement is to convert it to 194.46. I tried it by doing divide by 100 and my receiving field data type is 9(03)v99. But the output is 194. I am not getting the decimal value. Could anyone pls let me know how to get this done?
How you can read the file from bottom?
Explain what you understand by passing by value.
i have n records in one file and in this file there is some fields and i want to count that how many sharma in my file so plz give the coding that how we read sharma ?
How many maximum number of procedures can we write in one COBOL program?
select TURE Statement(s) aboUt eject statemenet in cobol? a)The eject statememnt must be the only statement on the line b.It causes the program to edit abnormally c. eject statement can be written in either area A or area B d. specifies that the next source statement is to be printed at Top of the next page e.The EJECTstatement has no effect on the compilation of the source program itself
example for sub strings ? and refernce modifications whit output pls
0 Answers College School Exams Tests, IBM,
in cobol main pgm is calling sub pgm but sub pgm does not exists , what abend i get if submit the job?
What is the purpose of Identification Division?
How will you find the currepted records in a file
WHY LRECL NEEDS TO BE 4 EXTRA THEN THE COBOL FILE LENGTH & WHAT IT CONTAIN IN THAT LENGTH