IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

RC=0008 when extracting data from a table


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
meenakshi_forum
Warnings : 1

Active User


Joined: 27 May 2008
Posts: 121
Location: India

PostPosted: Fri Jun 27, 2008 1:06 am
Reply with quote

I have a step in JCL which extracts data from a table, when i submit this job i am getting RC=0008 at that step.


Pls help in solving it.
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8697
Location: Dubuque, Iowa, USA

PostPosted: Fri Jun 27, 2008 1:13 am
Reply with quote

Utility? Custom program? Which database? Error message(s)? Job output? There's a LOT of information required to even begin helping you that you haven't provided.
Back to top
View user's profile Send private message
Craq Giegerich

Senior Member


Joined: 19 May 2007
Posts: 1512
Location: Virginia, USA

PostPosted: Fri Jun 27, 2008 1:13 am
Reply with quote

Based on the information you have provided it appears you need to upgrade your system to WINDOWS VISTA with SP1.
Back to top
View user's profile Send private message
meenakshi_forum
Warnings : 1

Active User


Joined: 27 May 2008
Posts: 121
Location: India

PostPosted: Fri Jun 27, 2008 1:27 am
Reply with quote

I was getting S522 error and i tried to resolve it putting time parameter,

Time=1440 and after i put it i got RC=0008 at the same step.
Back to top
View user's profile Send private message
Bill Dennis

Active Member


Joined: 17 Aug 2007
Posts: 562
Location: Iowa, USA

PostPosted: Fri Jun 27, 2008 1:40 am
Reply with quote

The program is setting RC=8. What program runs in that step?

Look on the JESLOG or SYSPRINT for any error messages to help you. Post the JCL or JESLOG so we can try to help.
Back to top
View user's profile Send private message
meenakshi_forum
Warnings : 1

Active User


Joined: 27 May 2008
Posts: 121
Location: India

PostPosted: Fri Jun 27, 2008 2:11 am
Reply with quote

USRACTRT JLPG793N STEP20 ( 3) PGM=IKJEFT01 RC=0008<==
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Fri Jun 27, 2008 3:24 am
Reply with quote

Hello,

You have posted the symptom, not the problem.

You need to post your jcl, control statements, and all of the diagnostic info presented by the problem run.

When we see what happened, we may be able to offer suggestion as to how to correct the problem(s).
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Fri Jun 27, 2008 11:12 am
Reply with quote

given Your unwillingness to post any detail,
looks you are on Your own to ....

ask Your peers
look at the documentation of the program You are using
or better in this case ( since You are using the batch TSO interface )
look at the documentation of the command You are issuing
( since You are talking about a table You might want to look at the documentation of the db2 program You are using )
Back to top
View user's profile Send private message
meenakshi_forum
Warnings : 1

Active User


Joined: 27 May 2008
Posts: 121
Location: India

PostPosted: Fri Jun 27, 2008 8:01 pm
Reply with quote

I am getting -905 error.


.READY
. DSN SYSTEM(ZS01)
.DSN
. RUN PROGRAM(DSNTIAUL) PLAN(DSNTIB81) PARM('SQL')
.DSN
.END
.SARPAGE 5
. DSNT490I SAMPLE DATA UNLOAD PROGRAM
. DSNT505I DSNTIAUL OPTIONS USED: SQL...................
. DSNT503I UNLOAD DATA SET SYSPUNCH RECORD LENGTH SET TO 80
. DSNT506I INPUT STATEMENT WAS NOT A FULL SELECT ON A SINGLE TABLE. LOAD STATE
. DSNT504I UNLOAD DATA SET SYSREC00 BLOCK SIZE SET TO 27996
. DSNT493I SQL ERROR DURING SQL STATEMENT OPEN , TABLE TBLNAME
.DSNT408I SQLCODE = -905, ERROR: UNSUCCESSFUL EXECUTION DUE TO RESOURCE LIMIT
. LIMIT = 000000000069 CPU SECONDS (000001800000 SERVICE UNITS) DERIVE
.DSNT418I SQLSTATE = 57014 SQLSTATE RETURN CODE
.DSNT415I SQLERRP = DSNXRRC SQL PROCEDURE DETECTING ERROR
.DSNT416I SQLERRD = 102 13172746 0 13820889 -1041948664 12714050 SQL D
.DSNT416I SQLERRD = X'00000066' X'00C9000A' X'00000000' X'00D2E3D9' X'C











80
E TABLE. LOAD STATEMENT WILL NEED MODIFICATION.

E TBLNAME
E TO RESOURCE LIMIT BEING EXCEEDED, RESOURCE NAME = ASUTIME
RVICE UNITS) DERIVED FROM M000.DSNRLST01.

OR
664 12714050 SQL DIAGNOSTIC INFORMATION
' X'00D2E3D9' X'C1E52008' X'00C20042' SQL DIAGNOSTIC
. . . . . . . . . . . . . . . . . . . . . .
Back to top
View user's profile Send private message
Craq Giegerich

Senior Member


Joined: 19 May 2007
Posts: 1512
Location: Virginia, USA

PostPosted: Fri Jun 27, 2008 8:38 pm
Reply with quote

What is the input statement you are using?
Back to top
View user's profile Send private message
meenakshi_forum
Warnings : 1

Active User


Joined: 27 May 2008
Posts: 121
Location: India

PostPosted: Fri Jun 27, 2008 9:07 pm
Reply with quote

SELECT DISTINCT(ASSOC_ID)
FROM RMSTO1.CLIENT CT
WHERE NOT EXISTS
(SELECT 'NOT EXISTS'
FROM RMST01.CLIENT_ASSOC CA
WHERE CT.ASSOC_ID = CA.AS_ID
)
AND STATUS_CDE <> 'T'
WITH UR;
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts How to save SYSLOG as text data via P... All Other Mainframe Topics 4
No new posts Store the data for fixed length COBOL Programming 1
No new posts Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
No new posts Load new table with Old unload - DB2 DB2 6
No new posts Pulling a fixed number of records fro... DB2 2
Search our Forums:

Back to Top