View previous topic :: View next topic
|
Author |
Message |
venumadhav.hari
New User
Joined: 14 Nov 2007 Posts: 6 Location: Pune
|
|
|
|
Hi,
I wrote the following JCL and when i submitted it, it was not giving me any output. can anyone assist me in solving the problem with it.
//HMADHAV JOB (12345678), HMADHAV, NOTIFY=&SYSUID,
// CLASS = A, MSGLEVEL=(2,1),MSGCLASS=H
//STEP1 EXEC PGM=IEFBR14
//SYSPRINT DD SYSOUT=*
//DD1 DD DSN=HMADHAV.TEST.PS1,
// DISP=(NEW,CATLG,CATLG),
// SPACE=(TRK,(1,2)),
// DCB=(RECFM=FB,LRECL=80,BLKSIZE=800)
// |
|
Back to top |
|
|
Pedro
Global Moderator
Joined: 01 Sep 2006 Posts: 2547 Location: Silicon Valley
|
|
|
|
Code: |
//HMADHAV JOB (12345678), HMADHAV, NOTIFY=&SYSUID,
// CLASS = A, MSGLEVEL=(2,1),MSGCLASS=H
|
Remove any imbedded blanks from the jobcard. |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
Problem 1: you did not post using BBcode
Problem 2: blanks within parameters of the job card will cause the job to fail without notice
Also, IEFBR14 doesn't need SYSPRINT since it doesn't do anything. And a block size of 800 is almost criminally negligent these days -- block sizes should be determined by the system, or set as close to half-track blocking as you can get (at least for disk). |
|
Back to top |
|
|
venumadhav.hari
New User
Joined: 14 Nov 2007 Posts: 6 Location: Pune
|
|
|
|
HI,
Thanks for the replys.
I am really new to IBM MF.
I have removed the extra spaces in jobcard.
Now I am getting the following error
21.06.11 JOB29001 $HASP165 HMADHAVA ENDED AT N1 - JCL ERROR CN(INTERNAL) |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
Well, as we can not see your terminal from here, it may be just a bit of an idea to post the output. |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
|
|
Quick answer is -- correct the JCL eror and SUBmit it again. And the suggestion is, please show us the "actual JCL" you submit and the full SYSOUT messages. Please use BBcode when you post again. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
Quote: |
Now I am getting the following error
21.06.11 JOB29001 $HASP165 HMADHAVA ENDED AT N1 - JCL ERROR CN(INTERNAL) |
There is additional diagnostic info available. . .
As Anuj and Expat mentioned, you need to post the actual jcl that was submitted (using the Code tag) along with the diagnostic info presented. |
|
Back to top |
|
|
venumadhav.hari
New User
Joined: 14 Nov 2007 Posts: 6 Location: Pune
|
|
|
|
Code: |
//HMADHAV JOB (12345678),HMADHAV,NOTIFY=&SYSUID,
// CLASS=A,MSGLEVEL=(2,1),MSGCLASS=H
//STEP1 EXEC PGM=IEFBR14
//SYSPRINT DD SYSOUT=*
//DD1 DD DSN=HMADHAV.TEST.PS1,
// DISP=(NEW,CATLG,CATLG),
// SPACE=(TRK,(1,2)),
// DCB=(RECFM=FB,LRECL=80,BLKSIZE=800)
//
|
This is what actually i have submitted as a job.
Now I am getting the message
Code: |
00.56.54 JOB29141 $HASP165 HMADHAVS ENDED AT N1 - JCL ERROR CN(INTERNAL) |
After submission of the job I went to SDSF and Option ST as well as O but i did not find any entry related to my job. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
It is possible that you have an invalid JOB statement. Suggest you compare this JOB statement to one that works.
Also, you might try msglevel=(1,1) or remove the parameter altogether so the defaults for the system will be used. What is msgclass=h on your system? |
|
Back to top |
|
|
flyingleo
New User
Joined: 09 Jul 2009 Posts: 14 Location: Stamford, CT
|
|
|
|
change ur job parameter
Code: |
//HMADHAV JOB (12345678),'HMADHAV',NOTIFY=&SYSUID,CLASS=X,MSGCLASS=X
//STEP1 EXEC PGM=IEFBR14
//DD1 DD DSN=HMADHAV.NOV1.PS1,
// DISP=(NEW,CATLG,CATLG),
// SPACE=(TRK,(1,2)),
// DCB=(RECFM=FB,LRECL=80,BLKSIZE=800)
|
|
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
Probably safer not to suggest msgclass=x - unless you work on the same system and know how it used there. . . |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
flyingleo, there's nothing wrong with having the JOB statement be continued -- that's not the issue. And having SYSPRINT and SYSOUT in a step executing IEFBR14 does absolutely nothing -- it's not wrong, but it's not going to produce any output in any circumstances whatsoever.
HARI: the JCL error implies one of these possibilities: (1) the JOB statement has a syntax error (likely if you're not getting any output at all) -- you need to talk to someone at your site about the job accounting field to ensure it is properly coded, (2) the data set HMADHAV.NOV1.PS1 already exists and the converter / interpreter is failing the job for duplicate data set (every cataloged name must be unique), (3) you've got lower case data in your JCL, (4) you have non-printing characters instead of spaces somewhere in the JCL, (5) the lack of a UNIT and / or VOLSER is causing an allocation failure. There may be other causes but that's all I can think of that would cause the message.
Your best bet would be to run your JCL by someone in your site support group to determine if they see something wrong with it. |
|
Back to top |
|
|
venumadhav.hari
New User
Joined: 14 Nov 2007 Posts: 6 Location: Pune
|
|
|
|
Hi,
This is the Job card provided to me by admin.
Code: |
//HMADHAV JOB (12345678),HMADHAV,MSGCLASS=H,
// MSGLEVEL=(1,1),CLASS=A,NOTIFY=&SYSUID |
I have tried with MSGLEVEL all possible combinations.
Since MSGCLASS=H is sujjested by admin, I don't know what it is. do you suggest any other class? |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
No -- message class is determined by each site and what is a good, valid class at one site may not even exist at another site. If they told you to use H, use H. I would try putting the UNIT parameter on the DD statement first; if that doesn't work, contact your site support group. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
Quote: |
I went to SDSF and Option ST as well as O but i did not find any entry |
Did you try H?
Suggest you use the JOB statement from your admin and submit only the JOB, the EXEC statement, and a null (//). This should run successfully. |
|
Back to top |
|
|
venumadhav.hari
New User
Joined: 14 Nov 2007 Posts: 6 Location: Pune
|
|
|
|
I am able to se the following messge in system log in SDSF;LOG option
Code: |
N 0200000 ADCD 09322 01:57:09.63 JOB29151 00000281 $HASP100 HMADHAVS ON INT
S HMADHAV |
I am unable to understand this message.
Any idea what it is? |
|
Back to top |
|
|
flyingleo
New User
Joined: 09 Jul 2009 Posts: 14 Location: Stamford, CT
|
|
|
|
i think problem is with MSGCLASS, i tried with MSGCLASS=X at my end its working,
with out unit also DD file will get created. |
|
Back to top |
|
|
venumadhav.hari
New User
Joined: 14 Nov 2007 Posts: 6 Location: Pune
|
|
|
|
When I wrote
Code: |
//PSCREATE JOB (12345678),HMADHAV,NOTIFY=&SYSUID,
// CLASS=A,MSGLEVEL=(1,1),MSGCLASS=H
//STEP1 EXEC PGM=IEFBR14
//
|
it ran successfully.
Code: |
02.11.29 JOB29154 $HASP165 PSCREATE ENDED AT N1 MAXCC=0 CN(INTERNAL)
***
|
Does this mean I have a problem with the DD statement? |
|
Back to top |
|
|
flyingleo
New User
Joined: 09 Jul 2009 Posts: 14 Location: Stamford, CT
|
|
|
|
IEFBR14 will run with out dd statment so here u didnt get error, no dataset can be created(since no DD).
if u try anyother utility that will throw error. |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
flyingleo, are you running at the same site as Hari? If not, your experience at your site is completely and totally irrelevant since MSGCLASS is a site standard, not an IBM standard. Furthermore, if Hari's site does not have SMS set up to default the UNIT, your experience at your site is again -- totally irrelevant. The SMS set up is site dependent. What works for you may cause JCL errors somewhere else.
Hari, since your last job ran okay, that implies the problem is with your DD01 DD statement -- so you probably need to get with someone at your site to determine the problem. If your TSO user id data set allocation is not SMS-controlled, for example, you would have to specify the UNIT (which is again a site standard and what works at one site will not work somewhere else). |
|
Back to top |
|
|
flyingleo
New User
Joined: 09 Jul 2009 Posts: 14 Location: Stamford, CT
|
|
|
|
thanks Robert |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
Quote: |
i think problem is with MSGCLASS, i tried with MSGCLASS=X at my end its working |
You need to come to an understanding about things that are "standard" and things that are site-specific. MSGCLASS is site-specific.
Quote: |
IEFBR14 will run with out dd statment so here u didnt get error, no dataset can be created(since no DD).
if u try anyother utility that will throw error. |
What. . . Why would you believe that using some other utility has anything to do with the original problem?
Quote: |
Does this mean I have a problem with the DD statement? |
Looks like it. . . Try a different dataset name. |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
Back to top |
|
|
Pedro
Global Moderator
Joined: 01 Sep 2006 Posts: 2547 Location: Silicon Valley
|
|
|
|
Dick asked:
Quote: |
Quote:
I went to SDSF and Option ST as well as O but i did not find any entry
Did you try H? |
I did not see a response. |
|
Back to top |
|
|
Pedro
Global Moderator
Joined: 01 Sep 2006 Posts: 2547 Location: Silicon Valley
|
|
Back to top |
|
|
|