can I copy book which contain db2 statment in procedure
divion?
Answer Posted / siddhesh
You can if you are using an integrated COBOL compiler. In
an intergrated COBOL compiler the DB2 precompiler, CICS
translator and the COBOL compiler work together. You can
CICS and/or DB2 statements in a copybook.
If you are using a standalone compiler, you cannot include
SQL statements in COPY.
| Is This Answer Correct ? | 6 Yes | 0 No |
Post New Answer View All Answers
Give some examples of command terminators?
what is difference bt COND, REGION & TIME parameters at JOB & EXEC. give an exp.
Write a program to enter and display the names of students in a class using the occurs clause.
What rules are to be followed while using the corresponding options?
What are the different rules to perform a Search?
State the various causes of s0c1, s0c5 and s0c7.
Define cobol?
What is the difference between goback, stop run and exit program in cobol?
How you can read the file from bottom?
Have you used comp and comp-3 in your project? And how?
how do you reference the variable unblock file formats from cobol programs
I have program P1 which calls file F1 which has 100 records and following structure 001 .................. 002 .................. 003 .................. 098 .................... 099 ................... 100 .................... Now I want to read these files and write these records in file F2 in following manner. 001 ...... 051 ..... 002 ...... 052 ..... 003 ...... 053 ..... .......... ....... .......... ....... .......... ....... 048 ........ 098 ...... 049 .......... 099 ....... 050 .... 100 ......
how do you reference the esds vsam file formats from cobol programs
I have a program with an Array of 5000 occurences which is being passed from 5 sub levels to the front end screen. Thess 5 programs using each 5*2 = 10 different arrays with size as 5000. This is causing the transaction to utilize more storage consupmtion. I am looking to reduce the storage consumption. As part of that initially i thought Dynamic array may solve my problem. After viewing the comments given i see its same as normal array. IS there any other way we can resolve this issue?
How to print 10 to 1 if the input have only 10 digit number?