How do you submit JCL via a Cobol program?

Answer Posted / nihar ranjan karan

To elaborate further on the internal reader....

Put your JCL statements in DISPLAY statements in the COBOL
program...

In the Run JCL ....give the following DD statement...

//SYSOUT DD SYSOUT=(*,INTRDR)

as soon as your program is executed the DISPLAY statements
will be written to the SYSOUT and in turn the internal
reader picks up those statements from the SYSOUT and
executes them....

Is This Answer Correct ?    9 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how to access the file from prodution from changeman tool and to submit a file to production

6680


What is the difference between structured cobol programming and object alternativelyiented cobol?

751


Name the sections present in data division.

697


What is the utilization of copybook in cobol?

650


What are declaratives and what are their uses in cobol?

706






What is the default value(s) for an initialize? What keyword will allow for an override of the default?

654


What are the pertinent COBOL

2041


How do you reference the following file formats from cobol programs?

693


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?

1228


i have 10 names in an array and my name is one of them also array is not in sorted order i need to display my name using index how will i do this

992


Difference between array and sub-script ?

1159


what is amode(24), amode(31), rmode(24) and rmode(any)?

691


What is the difference between Structured COBOL Programming and Object Oriented COBOL programming?

672


how can we apply for HSBC exam(Mainframe) in India??? i went to their site and was told to submit my CV ,. etc..( totally confusing...)

1921


What is the LINKAGE SECTION used in COBOL?

885