Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

RC=0008 when extracting data from a table

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: RC=0008 when extracting data from a table
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: 8117
Location: East Dubuque, Illinois, USA

PostPosted: Fri Jun 27, 2008 1:13 am    Post subject:
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    Post subject:
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    Post subject: Reply to: RC=0008
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    Post subject:
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    Post subject: Reply to: RC=0008
Reply with quote

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

Site Director


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

PostPosted: Fri Jun 27, 2008 3:24 am    Post subject:
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10274
Location: italy

PostPosted: Fri Jun 27, 2008 11:12 am    Post subject: Reply to: RC=0008 when extracting data from a table
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    Post subject: Reply to: RC=0008 when extracting data from a table
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    Post subject:
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    Post subject: Reply to: RC=0008 when extracting data from a table
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    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts copying data without knowing location arunsoods DFSORT/ICETOOL 6 Thu Jul 20, 2017 1:03 pm
This topic is locked: you cannot edit posts or make replies. Fetching data from BAI File arunsoods JCL & VSAM 1 Wed Jul 19, 2017 4:28 pm
No new posts Loading data to table gives wrong for... Raghu navaikulam DB2 18 Thu Jul 13, 2017 2:11 pm
No new posts SQL - select data available in index Nileshkul DB2 3 Mon Jun 26, 2017 1:30 am
No new posts NDM syntax checking without actually ... GAPX1 All Other Mainframe Topics 0 Wed Jun 07, 2017 2:36 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us