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 |
When search all is used in cobol program without sorted input data?
6 Answers CGI, Principal Finance,
IDENTIFICATION DIVISION. PROGRAM-ID. MOVEPGM. DATA DIVISION. WORKING-STORAGE SECTION. 01 WS-I PIC 9(2). PROCEDURE DIVISION. A1000-MAIN-PARA. PERFORM PARA-X WITH TEST BEFORE UNTIL WS-I= 5 STOP RUN. PARA-X. DISPLAY "BEST2". I m getting error s722,while executing the program, seems getting in loop, can anybody tell me why
Can we move SPACES to numeric field and ZEROES to alphabetic field? If yes what are the way doing this?
What are INPUT PROCEDURE and OUTPUT PROCEDURE?
can any one help -s806
Why occurs cannot be used in 01 level in COBOL?
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..
study the following 01 A PIC 99V0 VALUE 5 01 B PIC 9V9 VALUE 6 01 C PIC 99V9 VALUE 2.5 01 D PIC 99 VALUE 3 COMPUTE A ROUNDED B C = A+B*C/D ON SIZE ERROR PERFORM PRINT-ERROR the comments of A.B.C after execution of the above statement are a.A=10 B=0 C=10 b.A=10 B=9.9 C=9.9 c.A=10 B=0 C=9.9 d.A=10 B=6 C=10
What is the difference between Perform para and perform asaection in cobol?
how do you reference the fixed unblock file formats from cobol programs
can we use variable picture clause as xx.99 in cobol.
what is difference between the sysabend and userabend?