Bill Dennis Advanced
Joined: 03 Dec 2002 Posts: 579 Topics: 1 Location: Iowa, USA
|
Posted: Wed Jul 26, 2006 8:35 am Post subject: |
|
|
PGM=BPXBATCH can invoke a Unix script on the Mainframe. Look at the UNIX System Services manuals. Code: | //STEP1 EXEC PGM=BPXBATCH,
// PARM='sh skinker /u/testcron 2 ',
// REGION=0M,TIME=NOLIMIT
//STDOUT DD PATH='/tmp/test-stdout',
// PATHOPTS=(OWRONLY,OCREAT,OTRUNC),
// PATHMODE=SIRWXU
//STDERR DD PATH='/tmp/test-stderr',
// PATHOPTS=(OWRONLY,OCREAT,OTRUNC),
// PATHMODE=SIRWXU |
_________________ Regards,
Bill Dennis
Disclaimer: My comments on this foorum are my own and do not represent the opinions or suggestions of any other person or business entity. |
|