is it possible to pass an SQL query inside a jcl which is
inside a cobol program?
Answer Posted / rajesh
Yes. We can move the sql statements from COBOL to JCL using
HPUNLOAD utility.
Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
Which Search verb is equivalent to PERFORM…VARYING?
Difference between cobol and cobol-ii?
Have you used the sort in your project?for this type of questions any working on real time project give the eg. with real time scenario.
What is the difference between PIC 9.99 and PIC9v99?
what is difference bt COND, REGION & TIME parameters at JOB & EXEC. give an exp.
How do define dynamic array in cobol.
What is the utilization of copybook in cobol? Could we utilize a similar copybook?
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
Why would you use find and get rather than to obtain?
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 ......
Explain how will you differentiate between an internal and an external sort, the pros and cons, internal sort syntax etc
What guidelines should be followed to write a structured cobol prgm?
How to use the same COBOL program in Batch and CICS on lines? explain with an example
What is a report item?
What is the Purpose of Pointer in the string?