View previous topic :: View next topic
|
Author |
Message |
ranjani Warnings : 1 New User
Joined: 25 Oct 2006 Posts: 13
|
|
|
|
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 |
|
|
vin12pr Warnings : 1 New User
Joined: 14 Jun 2006 Posts: 56
|
|
|
|
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 |
|
|
ranjani Warnings : 1 New User
Joined: 25 Oct 2006 Posts: 13
|
|
|
|
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 |
|
|
ranjani Warnings : 1 New User
Joined: 25 Oct 2006 Posts: 13
|
|
|
|
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 |
|
|
|