#JO - #JEND problem

In this Mainframe Forum - You can post your queries on JCL, OS/390 JCL, MVS JCL, z/OS JCL, JES2 & JES3

Moderators: Frank Yaeger, DikDude, Moderator Group

Post Reply
Tejas
Member
Posts: 8
Joined: Fri Apr 13, 2007 3:23 pm

#JO - #JEND problem

Post by Tejas » Thu Jan 24, 2008 8:01 pm

Facing an issue...

I am using #JO -#JEND combination in a jcl, to make sure that a certain step is omitted when the job runs with a particular schid id.

//*step01 exec pgm=icegener
//*
//sysut1
//sysut2
//sysin dd dummy
//*
#JO,ID=abc
//step02 exec pgm=icegener
//*
//sysut1
//sysut2
//sysin dd dummy
//*
/*
#JEND


However, when i do a JEM on the jcl it gives me a warning 'DUPLICATE PARAMETER 'SYSIN' '.

It is considering the 2 steps to be single one.

Do i have the correct syntax for #JO ? Or is it that the #JO/#JI funcationality has some catch that i have missed?

User avatar
DavidatK
Active Member
Posts: 65
Joined: Tue Mar 27, 2007 8:41 am
Location: Troy, MI USA

Post by DavidatK » Sat Feb 16, 2008 4:56 am

I have never heard of #JO and #JEND, nor can I fine anything in the JCL manuals that look like that. I suspect that this is part of your scheduling package language, and not anything IBM

Let us know what you find

Dave

User avatar
Krishna
Site Admin
Posts: 1052
Joined: Fri Jan 27, 2006 7:50 am

Post by Krishna » Mon Feb 18, 2008 10:19 am

These are commands, normally used in CA-7.
Using these commands, we can either execute or stop execution of some steps in a jcl.

Post Reply

FREE TUTORIALS

Tutorials
Free tutorials from mainframegurukul
  • JCL Tutorial
    Covers all important JCL concepts.
  • Cobol Tutorial
    This tutorials covers all Cobol Topics from STRING to COMP-3.
  • DB2 Tutorial
    DB2 Tutorial focuses on DB2 COBOL Programming.
  • SORT Tutorial
    This Tutorial covers all important aspects of DFSORT with examples
  • CICS Tutorial
    This CICS tutorial covers CICS concepts and CICS Basics, CICS COBOL Programming.
Interview
Mainframe Interview questions



Other References
Mainframe Tools and others