Senthil4

Lieutenant Commander
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2011-05-02
19:58
3095 views
[Migrated content. Thread originally posted on 02 May 2011]
How to trigger Batch file (.BAT) from JCL ??
1 Solution
Accepted Solutions
Stevew3

Absent Member.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2011-05-02
20:08
There is no way to trigger a BAT file from JCL. However, it is possible to write a program that can be run from JCL that will shell out and run the BAT file. If you look in the Docs -> Reference->Library Routines->Alphabetic List and then look for X'91' Function'35' this is the call you can use to do it.
If you need more details let me know.
If you need more details let me know.
1 Reply
Stevew3

Absent Member.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2011-05-02
20:08
There is no way to trigger a BAT file from JCL. However, it is possible to write a program that can be run from JCL that will shell out and run the BAT file. If you look in the Docs -> Reference->Library Routines->Alphabetic List and then look for X'91' Function'35' this is the call you can use to do it.
If you need more details let me know.
If you need more details let me know.