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


Please Help Members By Posting Answers For Below Questions

Which Search verb is equivalent to PERFORM…VARYING?

857


Difference between cobol and cobol-ii?

940


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.

2234


What is the difference between PIC 9.99 and PIC9v99?

1036


what is difference bt COND, REGION & TIME parameters at JOB & EXEC. give an exp.

8668


How do define dynamic array in cobol.

857


What is the utilization of copybook in cobol? Could we utilize a similar copybook?

944


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

2591


Why would you use find and get rather than to obtain?

898


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 ......

11513


Explain how will you differentiate between an internal and an external sort, the pros and cons, internal sort syntax etc

1036


What guidelines should be followed to write a structured cobol prgm?

861


How to use the same COBOL program in Batch and CICS on lines? explain with an example

2101


What is a report item?

900


What is the Purpose of Pointer in the string?

824