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
 

 

Vsam-alternate index creation error code 35

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> ABENDS & Debugging
View previous topic :: :: View next topic  
Author Message
ranjani
Warnings : 1

New User


Joined: 25 Oct 2006
Posts: 13

PostPosted: Wed Oct 25, 2006 9:49 am    Post subject: Vsam-alternate index creation error code 35
Reply with quote

hello everyone,

i have a vsam ksds file (hlq.test.vsam) defined with an alternate index (hlq.test.vsam.aix).

In the file control of my cobol program, i write this as

select file assign to ddname
organisation is indexed
access mode is dynamic
record key is crsid
alternate record key is cname with duplicates
file status key is fs1.

and in my runjcl(jcl to run the load mod)

//ddname dd dsn=hlq.test.vsam.aix.path

it gives me a vsam error code 35. ( i did try assigning the ddname to the base cluster also, the result is the same)

i dont understand...can someone explain me this..its urgent
Back to top
View user's profile Send private message

vin12pr
Warnings : 1

New User


Joined: 14 Jun 2006
Posts: 56

PostPosted: Wed Oct 25, 2006 10:57 am    Post subject: Re: vsam-alternate index
Reply with quote

Hi,

I guess in the JCL , you will be having 2 ddnames.

//DDNAME DD DSN=<BASE CLUSTER>,DISP=SHR
//DDNAME1 DD DSN=<PATH NAME>,DISP=SHR

Correct me If I am Wrong..

Thanks,
Vinay
Back to top
View user's profile Send private message
ranjani
Warnings : 1

New User


Joined: 25 Oct 2006
Posts: 13

PostPosted: Wed Oct 25, 2006 11:01 am    Post subject:
Reply with quote

yeah...i do have...the cobol code works fine if i run it without giving

alternate record key is cname

in my file control.....

if i use it, it gives me error 35
Back to top
View user's profile Send private message
ranjani
Warnings : 1

New User


Joined: 25 Oct 2006
Posts: 13

PostPosted: Wed Oct 25, 2006 11:03 am    Post subject:
Reply with quote

yeah...i do have 2 ddnames

ddname ---> base cluster

ddname1 ----> aix path

the code works fine if i dont mention

alternate record key is cname

in my cobol.

if i use it, it gives me a return code 35
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 -> ABENDS & Debugging All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts How to Capture the Max return code of... anilkumar922 All Other Mainframe Topics 0 Thu Jan 12, 2017 12:02 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 OO COBOL compile error Virendra Shambharkar COBOL Programming 3 Tue Jan 10, 2017 6:05 pm
No new posts Underlying DB2 VSAM LDS - SMF recording vasanthz All Other Mainframe Topics 6 Thu Jan 05, 2017 4:20 am
This topic is locked: you cannot edit posts or make replies. Calling REXX code from ISPF panel sanchita dey TSO/ISPF 4 Mon Jan 02, 2017 5:13 pm


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