View previous topic :: View next topic |
Author |
Message |
Dibakar Advanced
Joined: 02 Dec 2002 Posts: 700 Topics: 63 Location: USA
|
Posted: Fri Nov 07, 2003 2:20 am Post subject: How to execute JES2 COMMANDS |
|
|
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 |
|
|
Cogito-Ergo-Sum Advanced
Joined: 15 Dec 2002 Posts: 637 Topics: 43 Location: Bengaluru, INDIA
|
Posted: Fri Nov 07, 2003 3:51 am Post subject: |
|
|
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 |
|
|
kolusu Site Admin
Joined: 26 Nov 2002 Posts: 12375 Topics: 75 Location: San Jose
|
Posted: Fri Nov 07, 2003 6:25 am Post subject: |
|
|
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 |
|
|
Dibakar Advanced
Joined: 02 Dec 2002 Posts: 700 Topics: 63 Location: USA
|
Posted: Fri Nov 07, 2003 6:30 am Post subject: |
|
|
Thanks,
I will try them out. |
|
Back to top |
|
|
taltyman JCL Forum Moderator
Joined: 02 Dec 2002 Posts: 310 Topics: 8 Location: Texas
|
Posted: Fri Nov 07, 2003 8:58 am Post subject: |
|
|
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 |
|
Back to top |
|
|
Mike Beginner
Joined: 03 Dec 2002 Posts: 114 Topics: 0 Location: Sydney, Australia
|
Posted: Tue Nov 18, 2003 7:37 pm Post subject: |
|
|
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 |
|
|
Dibakar Advanced
Joined: 02 Dec 2002 Posts: 700 Topics: 63 Location: USA
|
Posted: Fri Nov 21, 2003 7:54 am Post subject: |
|
|
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 |
|
|
kolusu Site Admin
Joined: 26 Nov 2002 Posts: 12375 Topics: 75 Location: San Jose
|
Posted: Fri Nov 21, 2003 8:39 am Post subject: |
|
|
Dibakar,
You can check your output in SDSF output queue
Kolusu _________________ Kolusu
www.linkedin.com/in/kolusu |
|
Back to top |
|
|
Dibakar Advanced
Joined: 02 Dec 2002 Posts: 700 Topics: 63 Location: USA
|
Posted: Mon Nov 24, 2003 12:01 am Post subject: |
|
|
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 |
|
|
kolusu Site Admin
Joined: 26 Nov 2002 Posts: 12375 Topics: 75 Location: San Jose
|
Posted: Mon Nov 24, 2003 6:17 am Post subject: |
|
|
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 |
|
|
|
|