Just make sure that the job class this jobs runs in has the authorization to issue commands. For JES2, this is in the JOBCLASS(x) statement, via the COMMAND=[EXECUTE|DISPLAY|VERIFY|IGNORE] sub-operand. If the value is EXECUTE or DISPLAY then the command will be issued. If the value is VERIFY then a WTOR will be issued and the operator must allow the command to be issued. If the value is IGNORE, then the command will NOT be issued and the job will continue to be processed. JES3 is a 4 letter word for me, so I don't know the command syntax. Also, be aware that COMMAND processing takes place during job conversion so can't be synchronized with any other steps in the job (using the COMMAND programs from the CBT like Rick F. suggested will be required for this).
Wayne Driscoll Product Developer NOTE: All opinions are strictly my own. -----Original Message----- From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On Behalf Of Edward Jaffe Sent: Thursday, May 29, 2008 1:03 PM To: [email protected] Subject: Re: Batch Mode - Jcl John Dawes wrote: > I would like to execute the following command to trouble shoot a problem with > CA-ALLOCATE: > > MODIFY WTV,TSO allocate dd(test01) dsn('indist.wtv.alloc.dvad') recfm(F) > space(1) track new catalog lrecl(80). > > Would anybody have a jcl available? > //MODFYWTV JOB ... // COMMAND 'F WTV,TSO allocate dd(test01) dsn(''indist.wtv.alloc.dvad''+ // ) recfm(F) space(1) track new catalog lrecl(80)' // EXEC PGM=IEFBR14 // -- Edward E Jaffe Phoenix Software International, Inc 5200 W Century Blvd, Suite 800 Los Angeles, CA 90045 310-338-0400 x318 [EMAIL PROTECTED] http://www.phoenixsoftware.com/ ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html

