how will u pass dadta to cobol+db2 program...?
Answers were Sorted based on User's Feedback
Answer / mahe
1.Through PARM parameter in JCL
2.Through SYSIN DD * in JCL
3.Through file
| Is This Answer Correct ? | 17 Yes | 0 No |
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.
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.
What is 77 level used for ?
In COBOL "BEFORE" advancing is there or not ?
How to recover a deleted source physical file from library?
what is a zoned decimal data type and how it will be stored?
can internal sort be applied to sort ksds files?
Can you call an OS VS COBOL pgm from a VS COBOL II pgm ?
if a=b how the flow will complete??? perform test through test-exit. perform activa through activa-exit. test. if a=b then next sentence else move a to c. test-exit. exit. activa. -- -- activa-exit. exit.
WHY LRECL NEEDS TO BE 4 EXTRA THEN THE COBOL FILE LENGTH & WHAT IT CONTAIN IN THAT LENGTH
How to remove the spaces at end of each record in the output file Via COBOL program? note: The file has a VB length
Name some of the examples of COBOl 11?