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
 

 

Data ID not created

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF
View previous topic :: :: View next topic  
Author Message
poornima.yeleswarapu

New User


Joined: 05 Jun 2009
Posts: 2
Location: Chennai

PostPosted: Mon Jun 15, 2009 3:18 pm    Post subject: Data ID not created
Reply with quote

I'm preparing a tool for my project requirments. I'm using the LMINIT service to create the Data id for the DS. But everytime it gives me a return code of 8. And from help manuals I could see that RC=8 means Data ID not created.

Can any one help me out with the error.

Below is the piece of code with which i am finding problem:

ADDRESS ISPEXEC "LMINIT DATAID(did2) DATASET ('"DSN1"') ENQ(SHR)"
IF RC <> 0 THEN
DO
SAY 'LMINIT RETURNED AN ERROR RC OF: ' RC
RETURN
END
ADDRESS ISPEXEC "LMOPEN DATAID("did2")"
IF RC <> 0 THEN
DO
SAY 'LMOPEN RETURNED A RC OF: ' RC
RETURN
END
Back to top
View user's profile Send private message

dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Mon Jun 15, 2009 3:30 pm    Post subject:
Reply with quote

you need to run with TRACE ?R.
I imagine (just a guess) that the resolution of DSN1 is not correct.

Has dsn1 been allocated?
Back to top
View user's profile Send private message
Pedro

Senior Member


Joined: 01 Sep 2006
Posts: 2025
Location: Silicon Valley

PostPosted: Tue Jun 16, 2009 1:54 am    Post subject: Reply to: Data ID not created
Reply with quote

Poornima, what does the ISPF Services Guide say about return code 8?
Back to top
View user's profile Send private message
poornima.yeleswarapu

New User


Joined: 05 Jun 2009
Posts: 2
Location: Chennai

PostPosted: Tue Jun 16, 2009 10:49 am    Post subject: Reply to: Data ID not created
Reply with quote

The DSN1 data set is already created and the RC = 8 means that the Data id is not created.

In my PS file i had two PDS data sets names. When i tried removing one it was working fine. and when i give more than one PDS the same rexx gives me this error.

Thanks.
Back to top
View user's profile Send private message
prino

Active Member


Joined: 07 Feb 2009
Posts: 989
Location: Oostende, Belgium

PostPosted: Tue Jun 16, 2009 11:29 am    Post subject:
Reply with quote

Put a
Code:
drop didx
statement before the LMINIT of the same didx...
Back to top
View user's profile Send private message
Pedro

Senior Member


Joined: 01 Sep 2006
Posts: 2025
Location: Silicon Valley

PostPosted: Tue Jun 16, 2009 9:10 pm    Post subject: Reply to: Data ID not created
Reply with quote

I was trying to get you to read the whole thing:
Quote:
Data ID not created; the error condition is described in “System variables used to format error messages” on page xx.


The error description is put into some ISPF variables which you can display or otherwise use to debug the problem.

Show us your trace information for the dataset name.
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 -> TSO/ISPF All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Storing huge volume of data, compare ... Pradeep K M All Other Mainframe Topics 3 Mon Jan 16, 2017 5:08 pm
No new posts how to recover an uncataloged VSAM da... archanamuthukrishnan All Other Mainframe Topics 3 Wed Jan 11, 2017 6:18 pm
No new posts HALDB data refresh/copy from producti... vineetanand2007 IMS DB/DC 0 Mon Jan 02, 2017 11:16 am
No new posts JES2 JEC: Use UNIX Pipes to Pass Data... Virendra Shambharkar JCL & VSAM 21 Tue Dec 20, 2016 6:55 pm
No new posts Is the 'prompt' data for the DSLIST p... Willy Jensen TSO/ISPF 2 Tue Dec 06, 2016 4:38 am


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