Skip to main content

How to trigger Batch file (.BAT) from JCL ??

  • May 3, 2011
  • 1 reply
  • 0 views

[Migrated content. Thread originally posted on 02 May 2011]

How to trigger Batch file (.BAT) from JCL ??

1 reply

  • Author
  • Rocketeer
  • 19312 replies
  • May 3, 2011

[Migrated content. Thread originally posted on 02 May 2011]

How to trigger Batch file (.BAT) from JCL ??
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.