Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Can we execute JES2 Commands in JES3?

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
sakthikumarT

New User


Joined: 09 Apr 2009
Posts: 49
Location: Bangalore

PostPosted: Tue Oct 02, 2018 11:55 pm    Post subject: Can we execute JES2 Commands in JES3?
Reply with quote

Hi All,

One of our product uses below JCL and JES2 commands to cancel the jobs running in the JES2 environment based on JOB ID and it works absolutely fine in the JES2 environment, however, we haven’t tested it in the JES3 environment. One of our customers wants to know whether it works in JES3 or not? we have hit an impasse because we don't have the JES3 environment, so we had requested to setup JES3, unfortunately, our server is down with some H/w issue and it appears will take more time.

Does anyone have a JES3 environment and test this, it would be of great help.!! or Any suggestions/pointers are highly appreciated.!

SCRIPT:

To run this script you should have set up JESINTERFACELEVEL to 2 and also the RACF CONTROL access to profile JES%.**

Code:
/*$VS,'$CJ6911'
//TESTJOB1 JOB (XXXXX),'User',
// TIME=1440,
// NOTIFY=&SYSUID,
// REGION=6500K,
// CLASS=A,
// MSGCLASS=X,
// MSGLEVEL=(1,1)
// EXEC PGM=IEFBR14
 




Regards,
Sakthi
Back to top
View user's profile Send private message

Willy Jensen

Active User


Joined: 01 Sep 2015
Posts: 251
Location: Denmark

PostPosted: Wed Oct 03, 2018 12:30 pm    Post subject:
Reply with quote

Maybe take a look at a JES3 manual?
Back to top
View user's profile Send private message
sakthikumarT

New User


Joined: 09 Apr 2009
Posts: 49
Location: Bangalore

PostPosted: Wed Oct 03, 2018 2:32 pm    Post subject:
Reply with quote

Hi WJ,

I have gone through it, to cancel a job the command is different. I would like to know whether my script is Compatible in JES3. That's why I need help from someone who has the JES3 environment can verify this. please let me know your view on this.
Back to top
View user's profile Send private message
Nic Clouston

Global Moderator


Joined: 10 May 2007
Posts: 2126
Location: UK

PostPosted: Wed Oct 03, 2018 4:40 pm    Post subject: Reply to: Can we execute JES2 Commands in JES3?
Reply with quote

I do not see any script but the JCL you posted will work on JES3 as JCL is the same. JES3 commands are different so your JES2 commands will not work and your command will be processed on the system that the job was submitted on unless you specify differently (SYSAFF ???) so if you put a JES3 command in there you must make sure that the system affinity is set too or that the job is submitted on the JES3 system.

I do not know why you need a TIME or a REGION parameter on an IEFBR14. Both are a waste of every resource .
Back to top
View user's profile Send private message
Willy Jensen

Active User


Joined: 01 Sep 2015
Posts: 251
Location: Denmark

PostPosted: Wed Oct 03, 2018 8:32 pm    Post subject:
Reply with quote

Ok, for starters I think that you should change the
/*$VS,'$CJ6911'
to a JCL command statement like
// COMMAND '$CJ6911'
substituting the JES2 cancel command with the proper JES3 equivalent. You will have to put it after the JOB statement. The initiator must allow commands, and the job userid must have operator command authority, the latter I think is identical to a JES2 system.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts U0437 to execute IMS DC program Vkp321 IMS DB/DC 6 Wed Sep 19, 2018 8:39 pm
No new posts Zipping a mainframe dataset using OSH... raviyuvi All Other Mainframe Topics 12 Thu Sep 06, 2018 7:13 pm
No new posts How to add a NEW LPAR to JES2 MAS tsathish81 All Other Mainframe Topics 2 Thu Jun 07, 2018 9:32 pm
No new posts Using multiple routines at exit 6 in ... Randy Horowitz All Other Mainframe Topics 2 Sat Feb 10, 2018 11:57 pm
No new posts JES2 EXIT 6 QUESTION Randy Horowitz All Other Mainframe Topics 30 Tue Feb 06, 2018 5:47 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us