MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

How to execute JES2 COMMANDS

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Job Control Language(JCL)
View previous topic :: View next topic  
Author Message
Dibakar
Advanced


Joined: 02 Dec 2002
Posts: 700
Topics: 63
Location: USA

PostPosted: Fri Nov 07, 2003 2:20 am    Post subject: How to execute JES2 COMMANDS Reply with quote

Hi,

I was going through 'MVS/QuickRef - Z/OS JES2 COMMANDS', like - '$c j3', but don't know how to test these commands.

Thanks,
DIba.
Back to top
View user's profile Send private message Send e-mail
Cogito-Ergo-Sum
Advanced


Joined: 15 Dec 2002
Posts: 637
Topics: 43
Location: Bengaluru, INDIA

PostPosted: Fri Nov 07, 2003 3:51 am    Post subject: Reply with quote

Out of memory, the JES2 commands are executed when these are coded after a //*. This is NOT a comment when coded above JOBLIB. Maybe this is how you code them.
_________________
ALL opinions are welcome.

Debugging tip:
When you have eliminated all which is impossible, then whatever remains, however improbable, must be the truth.
-- Sherlock Holmes.


Last edited by Cogito-Ergo-Sum on Fri Nov 07, 2003 6:56 am; edited 1 time in total
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12375
Topics: 75
Location: San Jose

PostPosted: Fri Nov 07, 2003 6:25 am    Post subject: Reply with quote

Dibakar,

Code them as input for sysut1 for IEBGENER to execute them. But most shops restrict from issuing console commands(commands starting $)

check this link for examples

http://www.mvsforums.com/helpboards/viewtopic.php?t=1316

Hope this helps...

cheers

Kolusu


Last edited by kolusu on Fri Nov 07, 2003 6:31 am; edited 1 time in total
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Dibakar
Advanced


Joined: 02 Dec 2002
Posts: 700
Topics: 63
Location: USA

PostPosted: Fri Nov 07, 2003 6:30 am    Post subject: Reply with quote

Thanks,

I will try them out.
Back to top
View user's profile Send private message Send e-mail
taltyman
JCL Forum Moderator
JCL Forum Moderator


Joined: 02 Dec 2002
Posts: 310
Topics: 8
Location: Texas

PostPosted: Fri Nov 07, 2003 8:58 am    Post subject: Reply with quote

Did you want to test them in batch or TSO or ? I'd also be very careful when testing jes or mvs commands. Especially those that start with $C Smile
Back to top
View user's profile Send private message
Mike
Beginner


Joined: 03 Dec 2002
Posts: 114
Topics: 0
Location: Sydney, Australia

PostPosted: Tue Nov 18, 2003 7:37 pm    Post subject: Reply with quote

Cognito-ergo-sum I think that it's /* rather than //*, you can also submit them directly via the internal reader, via say IEBGENER or even via the SUBMIT command. However it is highly likely that the use of JES commands is resticted.
_________________
Regards,
Mike.
Back to top
View user's profile Send private message
Dibakar
Advanced


Joined: 02 Dec 2002
Posts: 700
Topics: 63
Location: USA

PostPosted: Fri Nov 21, 2003 7:54 am    Post subject: Reply with quote

Hi,

I was on leave just after my last post, sorry for dealy.

Please tell me the TSO method of invoking these commands as I am a bit slow with JCL.

Kolusu, in the example (1316) where will I get the output if I want to see status of a job?

Thanks,
Diba.
Back to top
View user's profile Send private message Send e-mail
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12375
Topics: 75
Location: San Jose

PostPosted: Fri Nov 21, 2003 8:39 am    Post subject: Reply with quote

Dibakar,

You can check your output in SDSF output queue

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Dibakar
Advanced


Joined: 02 Dec 2002
Posts: 700
Topics: 63
Location: USA

PostPosted: Mon Nov 24, 2003 12:01 am    Post subject: Reply with quote

Kolusu,

I was testing $HASP890 but did not get any output though the job gave zero RC.

Below is the JCL used -
Code:

//TS090651 JOB (3401,S063),8048.DIBA,CLASS=D,MSGCLASS=Q, 
//             NOTIFY=&SYSUID                             
//STEP010  EXEC PGM=IEBGENER                             
//SYSUT1   DD   *                                         
$HASP890   JOB(TS09065)                                   
//SYSUT2   DD SYSOUT=(*,INTRDR)                           
//SYSIN    DD DUMMY                 
//SYSPRINT DD SYSOUT=*                     


Thanks,
Diba.
Back to top
View user's profile Send private message Send e-mail
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12375
Topics: 75
Location: San Jose

PostPosted: Mon Nov 24, 2003 6:17 am    Post subject: Reply with quote

Dibakar,

You are missing the MSGLEVEL parameter which controls the listing of the JCL output in your Job.

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Job Control Language(JCL) All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group