I was going to reply similarly, but I then noticed that OP is talking about a 
running job, not necessarily the current system. A job can be running on any 
member of the JES plex. I don't have an easy answer for that question.

.
.
.
J.O.Skip Robinson
Southern California Edison Company
Electric Dragon Team Paddler 
SHARE MVS Program Co-Manager
626-302-7535 Office
323-715-0595 Mobile
[email protected]

-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf 
Of Charles Mills
Sent: Tuesday, September 01, 2015 2:55 PM
To: [email protected]
Subject: Re: JES2 - get system name without JCT addressability.

         L     R3,FLCCVT-PSA(0)    POINT TO CVT FROM LOW MEMORY
         MVC   JISYSNM(8),CVTSNAME-CVT(R3)

or is that a different "system name"?

Charles

-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf 
Of Leonardo Vaz
Sent: Tuesday, September 01, 2015 12:22 PM
To: [email protected]
Subject: JES2 - get system name without JCT addressability.

Hello list!

I am trying to get the name of the system where a JOB is running in a JES2 EXIT 
5 (command preprocessor).
My first idea was to get it from JCTMVSNM in the JCT; I am able to get the JQEs 
of the job in question and thus get the track address of the JCT from the spool 
using JQETRAK, but I can't seem to find the information on how to read the JCT 
using the spool track address. Is there a JES2 macro I am missing? Does anyone 
has other ideas to get the system name other than JCTMVSNM?

Thanks and regards,
Leo

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to