Error Help



JES, JES2, JCL utilities, IDCAMS, Compile & Run JCLs, PROCs etc...

Error Help

Postby JUSTINTOIT » Sun Oct 14, 2012 9:43 pm

Hi everyone

I am a beginner in mainframes and have been trying to execute some JCL for a while and have checked a lot of resources but unable to find an answer. :(

At first time i got JOB07466 $HASP165 WORKLOAD ENDED AT ZOSZ MAXCC=0 CN(INTERNAL).


I got the this error when i ran job second time
JOB07522 $HASP165 WORKLOAD ENDED AT ZOSZ MAXCC=99 CN(INTERNAL).

Any help would be really appreciated.

Note:

I have to import some details from a DATA SET into a DB2 database .
JUSTINTOIT
 
Posts: 5
Joined: Sat Oct 13, 2012 9:07 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Error Help

Postby Robert Sample » Sun Oct 14, 2012 9:47 pm

You did not give us ANYTHING to help you -- JCL, job output, nothing. Since you did not give us anything, there's not going to be much we can do to help you.

The MAXCC=0 implies the first job ran successfully, so why did you run it a second time?
Robert Sample
Global moderator
 
Posts: 3719
Joined: Sat Dec 19, 2009 8:32 pm
Location: Dubuque, Iowa, USA
Has thanked: 1 time
Been thanked: 279 times

Re: Error Help

Postby enrico-sorichetti » Sun Oct 14, 2012 9:51 pm

JOB07522 $HASP165 WORKLOAD ENDED AT ZOSZ MAXCC=99 CN(INTERNAL).


the info posted does not give anything useful to help

we do not know what program You are running,
we do not know the error messages You received

being a beginner does not exempt You from using Your grey cells to ...
look at the output of the job in error
and ..
identify the step in error ( giving the 99 rc )
and ...
look at the sysout of the above mentioned step to understand the error message
and
look at the <program used> manual/documentation to understand why You received the error

just telling that some process/job ended with a RC 99 is just a waste of time for everybody!

after You have tried to help Yourself following the steps suggested and You did not succeed

post
the JCL You submitted
the sysout of the run that failed

The MAXCC=0 implies the first job ran successfully, so why did you run it a second time?

to double check the result :mrgreen:
cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort
enrico-sorichetti
Global moderator
 
Posts: 2994
Joined: Fri Apr 18, 2008 11:25 pm
Has thanked: 0 time
Been thanked: 164 times

Re: Error Help

Postby JUSTINTOIT » Sun Oct 14, 2012 10:21 pm

Thank You for your replies i have been going through the suggested steps and trying to find out what went wrong.
I ran the job second time because i was supposed to get a output after this program ran successfully and did not get any thing so i tried to run it again.
Can you tell me if output is presented on the same screen after the job has ran or i have to check the SDSF for it ?
JUSTINTOIT
 
Posts: 5
Joined: Sat Oct 13, 2012 9:07 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Error Help

Postby enrico-sorichetti » Sun Oct 14, 2012 10:30 pm

SDSF

but how to look at the output of a job is pretty basic training,
worth meditating a bit if You got enough of it ( of training I mean )
Last edited by enrico-sorichetti on Sun Oct 14, 2012 10:34 pm, edited 1 time in total.
cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort
enrico-sorichetti
Global moderator
 
Posts: 2994
Joined: Fri Apr 18, 2008 11:25 pm
Has thanked: 0 time
Been thanked: 164 times

Re: Error Help

Postby Robert Sample » Sun Oct 14, 2012 10:30 pm

Job output is associated with the job, NOT your terminal. You would need to use or its equivalent at your site to look at the output. Furthermore, the output is usually written to a specific DD name, and if you did not provide that DD name in the job then you may not see any output for the job (although there normally would be a non-zero return code in this case).
Robert Sample
Global moderator
 
Posts: 3719
Joined: Sat Dec 19, 2009 8:32 pm
Location: Dubuque, Iowa, USA
Has thanked: 1 time
Been thanked: 279 times

Re: Error Help

Postby dick scherrer » Mon Oct 15, 2012 7:46 am

Hello,

Is there any good reason you have not posted what you were trying to run? As has been mentioned, you need to post the submitted job, any utility/program control statements used, and the informational messages generated by the run.
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6268
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 93 times

Re: Error Help

Postby JUSTINTOIT » Mon Oct 15, 2012 1:30 pm

Sorry about the late reply there was some problem with my network.

Here is the job i was trying to run

//ADDCUST  JOB MSGCLASS=H,NOTIFY=&SYSUID
//ADDCUST  EXEC PGM=IKJEFT01,                                   
//         PARM='DSN SYSTEM(DB1S)'                               
//STEPLIB  DD DISP=SHR,DSN=DB2.V9R1.SDSNLOAD                     
//         DD DISP=SHR,DSN=ZOS.CONTEST2.PART2.LOAD               
//SYSTSIN  DD *                                                 
  RUN PLAN(ADDCUST) PROGRAM(ADDCUST)                             
//SYSIN    DD DISP=SHR,DSN=IND0532.CONTEST2.PART2.CUSTOMER.DATA 
//SYSTSPRT DD SYSOUT=*                                           
//ADDCUST  DD SYSOUT=*                                           
//SYSOUT   DD SYSOUT=*


This the data in IND0532.CONTEST2.PART2.CUSTOMER.DATA data set.

 LAST_NAME='TEST'       
 FIRST_NAME='DATA'       
 ADDRESS_1='TEST2'   
 ADDRESS_2='TEST3'         
 ADDRESS_3='TEST4'   
 POSTCODE=99             
 EMAIL='TESTADRESS@TEST.COM'


and enrico-sorichetti i did not get any training i am trying to do and learn on my own.

and i logged off the system once so will the sysout be still available ?
JUSTINTOIT
 
Posts: 5
Joined: Sat Oct 13, 2012 9:07 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Error Help

Postby enrico-sorichetti » Mon Oct 15, 2012 1:37 pm

and enrico-sorichetti i did not get any training i am trying to do and learn on my own.

//         DD DISP=SHR,DSN=ZOS.CONTEST2.PART2.LOAD   


if You do not have the skills why in heaven did You enter the zOS contest ? :evil:

but before honing Your IT skills You should really learn how to post proper questions
giving all the info that people spending time to help You ask for.

if You refuse to post the required info we are all wasting time

hint ...
You are trying to execute a program ADDCUST we know nothing about,
so how in heaven do You expect us to provide an answer ?
cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort
enrico-sorichetti
Global moderator
 
Posts: 2994
Joined: Fri Apr 18, 2008 11:25 pm
Has thanked: 0 time
Been thanked: 164 times

Re: Error Help

Postby BillyBoyo » Mon Oct 15, 2012 2:02 pm

Unless you have deleted/printed the sysout or it is has been deleted for you by site policy, it will still be available.
BillyBoyo
Global moderator
 
Posts: 3804
Joined: Tue Jan 25, 2011 12:02 am
Has thanked: 22 times
Been thanked: 265 times

Next

Return to JCL

 


  • Related topics
    Replies
    Views
    Last post