how to submit a jcl by cobol program.
clear me with an example.

Answer Posted / leena_kulkarni

You just write out your JCL syntax to a file and assign it
to the internal reader to be automatically fired off when
you close the file.

SYNTAX:
When you close file, write down the below line.
//SYSUT2 DD SYSOUT=(*,INTRDR)

Is This Answer Correct ?    5 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do we get current date from system with century in COBOL?

1040


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

8651


What are declaratives and what are their uses in cobol?

917


What rules are to be followed while using the corresponding options?

819


can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there

2102






What is the difference between binary search and sequential search?

840


Differentiate between structured cobol programming and object-oriented cobol programming.

820


if we have " ibm mainframe ",in that how to remove first and last leading space eg:"ibm mainframe" like that the answer we need

1047


What is the default value(s) for an initialize and what keyword allows for an override of the default?

939


What is the difference between next sentence and continue in cobol programing language?

937


What is the difference between PIC 9.99 and 9v99 in COBOL?

958


How can you get the ksds file records into your cobol program?

826


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

2581


System Testing for Mainframe Developers What is System Testing? integration testing ? what's the procedure ..

1811


What is the difference between goback, stop run and exit program in cobol?

1210