What are the different ways to run a COBOL DB2 program
using JCL?
Answers were Sorted based on User's Feedback
cobol + db2 programs can be compiled by using precompiler(dsnhpc)...wich saperates cobol and db2 statements.
| Is This Answer Correct ? | 5 Yes | 1 No |
Answer / ravikumar
using ikjeft01 utility
//systsin dd *
run program(pgm name) plan(plan name)
lib(lib name)
//
| Is This Answer Correct ? | 2 Yes | 1 No |
01 ws-p pic 9(2). 01 ws-q pic 9(2) value 01. 01 ws-r pic 9(2) value 99. p.d. compute p = q + r what will be result of p ans(00) but my question is that how i got 10 on the place of 00. (truncation will ocuure on right side not left). please tell me ?
01 a pic 9(3) value is 123 01 b pic 9(6) move a to b wht will be the value ? and 01 a pic x(6) value is abc 01 b pic x(3) move a to b wht will be the value ?
I have a PS file and I would like to manually insert the binary values (like a COMP format) into the file. How can i do that? the way do in COMP-3 format.. suppose i want to insert -12345 in to file in comp-3 format. simply we can open a file in edit mode and do HEX-ON and insert the value . SEE BELOW-- 135 24D in 3 bytes - this will be COMP-3 presenatation of -12345.
What happens in the background of spool when we submit a job for compilation and execution... This is a recent question in ibm...Kindly help me.....
How To move a value to an array using move verb?
please..could u give an example about USAGE IS POINTER ..and explain why and when we use it ?
What is the difference between comp and comp-3?
what is the difference between implicit and explicit scope terminator with example?
perform I from 0 by 1 until I=5?How maney times it will executes
When would you use in-line perform?
HOw can I get the negative sign while deduct high value from low value
How to change size of Initial number of records to *NOMAX for ALL PF files from perticular library, how can I do that