View previous topic :: View next topic
|
Author |
Message |
Sravanthi modugu
New User
Joined: 28 May 2008 Posts: 2 Location: Bangalore
|
|
|
|
Hi,
I have created a new VSAM file and when Iam trying to repro it frm the sequential file I am getting the VSAM error 168.
Please let me know what could be the problem?
Thanks in Advance,
Sravanthi M |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
what about giving a bit more of info and posting ...
JCL
OUTPUT of the run |
|
Back to top |
|
|
Sravanthi modugu
New User
Joined: 28 May 2008 Posts: 2 Location: Bangalore
|
|
|
|
Please find the attachment for the Job and output details
for the first time I have created the KSDS and fr each run I am deleting the existing definition and Redefining.
The vsam file is getting creating each time but when it comes to opening of a file for reproing it's giving the error
Thanks,
Sravanthi M |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
please do not use attachments, they are just a waste of space and many people
are not able to open them
paste things with the code tags ( they are also much more readable )
the jcl as posted is wrong
it' s a bad practice to have dd pointing to datasets which are going to be deleted and defined in the same step
as a first debugging step try to run the define and the repro as two different steps
or for the repro insted of using the outfile use the outdataset
since it' s a bad practice ...
I never used the outfile in the same step as the delete/define |
|
Back to top |
|
|
|