Is PIF the correct method? API seems more on datastore maintenance and manipulation. Are there some samples in Cobol for job run/release. Only found EQQPIFJC that does manipulate JCL variables but none on job release/run.
Cobol programs to run/release jobs in IBM Workload Scheduler for z/OS (TWSz)
310 views Asked by Umberto Caselli At
1
There are 1 answers
Related Questions in COBOL
- how to create an array of multiples of 5 and display it in reverse
- Z/OS Cobol 6.3 copy: how to include only a chunk?
- Trying to add gm and hm calculations to cobol program
- Cobol program wont read until end of file
- Cobol errors, cannot seem to figure it out
- Cobol file WRITE not allowed, file not open for output (status = 48) for file output-file
- Record grouping and aggregation
- open fetch and close cursor DB2
- How to create comments using only * in COBOL?
- DB2 contention issues
- Using the routine CSNBOWH on IBM I - MD5
- Addition of PIC 9 variable with space not causing ABEND S0C7
- FIlling a zone with S9(5)V9(8) COMP-3
- Microfocus COBOL - Remote debugging requires ALL programs to be compiled for debugging?
- VSCode snippet, how to force the starting column of a line?
Related Questions in MAINFRAME
- Where can I download ECI resource adapter (cicseci.rar). Unable to find out it in IBM portal
- Mainframe Programming Sorting, OUTFIL REMOVECC,NODETAIL
- Z/OS Cobol 6.3 copy: how to include only a chunk?
- SHA256 Checksum of a File transmitted from Mainframe to Azure
- open fetch and close cursor DB2
- How to "stack" an ISPF command?
- DB2 contention issues
- IBM z/OS TSO ISPF Editor Cancel command - how to add "Are You Sure?" query dialog
- FIlling a zone with S9(5)V9(8) COMP-3
- Mainframe monitoring using Zabbix
- How to programmatically overwrite DCI 2.0 policy via REXX or JCL?
- SEARCH ALL with a key PIC XX
- Why is this COBOL code failing to compile?
- Use MVS Dsname conventions. Mainframe name convention while downloading ftp using python
- COBOL issue (Compiling and executing)
Related Questions in WORKLOAD-SCHEDULER
- Broadcom CA Workstation - Making an APPL WAIT while another APPL is EXECUTING
- How to nest Job Streams in IBM Workload scheduler?
- API call from client to autosys server
- Docker vs VM for CPU-intensive workloads
- Is it possible to create cross dependency on a file?
- Service broker error for Workload Scheduler
- Workload Scheduler job won't enable
- submit TWS schedule on specific AGENT
- Is there a way in IDWC 9.4 to set defaults for job attributes
- Access JSON array value with number name
- Is there any way to pass user variables to a CA Workload Automation job?
- TWS Java API editAddJobStreamInstanceWithVariableSubstitution
- Export a workload log on YCSB
- Add condition dependency to the job
- Add new jobstream to database
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
PIF is the right interface to be used for integration with native z/OS programs, written in many languages, including COBOL.
EQQPIFJC is a sample program written in COBOL that show how to call PIF from COBOL. This is the only COBOL PIF sample provided by TWSz, but it doesn't mean this is the only scenario that can be implemented.
The full PIF documentation is available in the TWSz Developer's Guide.
PIF can be used to make any change and action on the definitions and to the plan. e.g. to submit a job stream (Occurrence) use an INSERT CPOC, to take actions on a job in the plan use MODIFY CPOP.
If you want to run the same scenarios in a batch instead from COBOL, also look at WAPL that provides all PIF scenarios and more via simple scripting.