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 |
Define cobol?
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.
How many sections are there in data division?.
What are the two search techniques ?
I have one column say 'X' defined as VARCHAR Can anyone tell me What are the different ways to update this column thru COBOL-DB2 program?
What is R-mode and A-mode?
how we can reverse the string in the cobol for example satheesh can be reveresed as hseehtas
How To move a value to an array using move verb?
Our issue is there seems to be a disconnect, or no link, between our SELECT statement and our SD. We had SELECT SORT-FILE and SELECT SORT-FILE ASSIGN TO SORTWRK. ASSIGN TO SORTWRK1 SORTWRK2 SORTWRK3 SORTWRK4. with SD SORT_FILE RECORD CONTAINS 7833 CHARACTERS. In either case, at run time, the system ignored our SORTWRK# DD statements and allocated 16 sort works with the SORTWK## naming convention. Any ideas why the system does not recognize the connection? We do not even need the SORTWRK DD statements. Thanks
Is It Possible to Update or change in VIEW Mode?
TYPES OF SORTINGS. which is more prefarable.
Suppose, file A has 100 records and file B has 500 records. We want to write records common to both A and B into file C and records which are present only in either A or B into another file D. What should be the logic of Cobol program to achieve this?
7 Answers Bank Of America, Mind Tree,