IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Can we execute JES2 Commands in JES3?


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
sakthikumarT

New User


Joined: 09 Apr 2009
Posts: 50
Location: Bangalore

PostPosted: Tue Oct 02, 2018 11:55 pm
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: 416
Location: Denmark

PostPosted: Wed Oct 03, 2018 12:30 pm
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: 50
Location: Bangalore

PostPosted: Wed Oct 03, 2018 2:32 pm
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: 2453
Location: Hampshire, UK

PostPosted: Wed Oct 03, 2018 4:40 pm
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: 416
Location: Denmark

PostPosted: Wed Oct 03, 2018 8:32 pm
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Execute step regardless of previous s... JCL & VSAM 2
No new posts ISPF Panel commands DDLIST /LISTBOX TSO/ISPF 11
No new posts Identify the count from two diffrent ... DFSORT/ICETOOL 19
No new posts ISPF Edit Macro with profile commands... TSO/ISPF 14
No new posts Need to open a DSN using REXX & e... CLIST & REXX 10
Search our Forums:

Back to Top