Page 1 of 2

Error Help

PostPosted: Sun Oct 14, 2012 9:43 pm
by JUSTINTOIT
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 .

Re: Error Help

PostPosted: Sun Oct 14, 2012 9:47 pm
by Robert Sample
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?

Re: Error Help

PostPosted: Sun Oct 14, 2012 9:51 pm
by enrico-sorichetti
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:

Re: Error Help

PostPosted: Sun Oct 14, 2012 10:21 pm
by JUSTINTOIT
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 ?

Re: Error Help

PostPosted: Sun Oct 14, 2012 10:30 pm
by enrico-sorichetti
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 )

Re: Error Help

PostPosted: Sun Oct 14, 2012 10:30 pm
by Robert Sample
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).

Re: Error Help

PostPosted: Mon Oct 15, 2012 7:46 am
by dick scherrer
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.

Re: Error Help

PostPosted: Mon Oct 15, 2012 1:30 pm
by JUSTINTOIT
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 ?

Re: Error Help

PostPosted: Mon Oct 15, 2012 1:37 pm
by enrico-sorichetti
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 ?

Re: Error Help

PostPosted: Mon Oct 15, 2012 2:02 pm
by BillyBoyo
Unless you have deleted/printed the sysout or it is has been deleted for you by site policy, it will still be available.