Re: Batch Mode - Jcl



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:IBM-MAIN@xxxxxxxxxxx] On Behalf Of Edward Jaffe
Sent: Thursday, May 29, 2008 1:03 PM
To: IBM-MAIN@xxxxxxxxxxx
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
edjaffe@xxxxxxxxxxxxxxxxxxx
http://www.phoenixsoftware.com/

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to listserv@xxxxxxxxxxx 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 listserv@xxxxxxxxxxx with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

.



Relevant Pages

  • Re: START fails no diagnostics!
    ... address space fails with no diagnostics: ... >I can unmount the /WebSphere/V6R0 filesystem to force a JCL error and I ... >send email to listserv@xxxxxxxxxxx with the message: GET IBM-MAIN INFO ... >Search the archives at http://bama.ua.edu/archives/ibm-main.html ...
    (bit.listserv.ibm-main)
  • RE: JCL-Generating Software Package
    ... looking for a software package the generates JCL to run backups. ... email to listserv@xxxxxxxxxxx with the message: GET IBM-MAIN INFO Search ... Search the archives at http://bama.ua.edu/archives/ibm-main.html ...
    (bit.listserv.ibm-main)
  • RE: PROTECTION EXCEPTION 0C4 - Job Doesnt Work When &&Dataset Used
    ...  Gilbert Saint-Flour ... If I use the following && JCL the job fails consistently with an 0C4: ... send email to listserv@xxxxxxxxxxx with the message: GET IBM-MAIN INFO ... Search the archives at http://bama.ua.edu/archives/ibm-main.html ...
    (bit.listserv.ibm-main)
  • Re: JOB00045 $HASP165 IBMUSERB ENDED AT N1 - JCL ERROR CN(INTERNAL)
    ... JOB00045 $HASP165 IBMUSERB ENDED AT N1 - JCL ERROR CN ... email to listserv@xxxxxxxxxxx with the message: GET IBM-MAIN INFO ... Search the archives at http://bama.ua.edu/archives/ibm-main.html ...
    (bit.listserv.ibm-main)
  • Re: [IBM-MAIN] Using symbolic in JCL
    ... > I have a jcl that will be use on 2 partitions, ... > send email to listserv@xxxxxxxxxxx with the message: GET IBM-MAIN INFO ... > Search the archives at http://bama.ua.edu/archives/ibm-main.html ...
    (bit.listserv.ibm-main)