In the step DBBA025 i have initialized with dummy record
In the step DBBA026 i have deleted the dummy record ,and resting the file pointer(we are not supposed to insert any un wanted data in the cluster thats why iam deleting from teh cluster)
In the stepDBBA027 this cluster will be used by the porgram As Input
still iam getting 35 cc
Please help me reagrding the same
Is it possible to initialize a cluster with out changing the program
Joined: 20 Oct 2006 Posts: 1411 Topics: 26 Location: germany
Posted: Mon May 25, 2009 5:16 am Post subject:
1. start using the extended vsam return codes.
2. since a 35 says that the file was not present,
maybe a cut & paste of STEP DBBA027 is necessary,
so we can see the DSN used.
3. probably most important, (since you use the same file as input and output),
the status of the vsam file after the second step. Look in your JES output to determine the status of the vsam file. If you are not writing any records, maybe the file does not exist after step 2. _________________ Dick Brenholtz
American living in Varel, Germany
The dd name is correct ,the cluster did not have any data
i mean the cluster is empty thats why iam getting this proble,i want to initialize the cluster thru job without changing the program,and with out inserting dummy record .please let me know how we can do this.
1) one solution i found is using a program
I have coded one program to open the cluster in the output mode and close ,so that cluster is getting initialized ,in the next program when i open the empty cluster for input it is not giving any problem.
I want to achive same without using the program
is it possible to initialize the cluster thru job.
In the step DBBA025 iam using the program to initialize the empty cluster ,in this case it is working fine (iam opening the file in o/p mode and closing)
I want to achive same thing without using the program to initialize the empty cluster is it possible?
Joined: 01 Mar 2007 Posts: 475 Topics: 9 Location: Welsh Wales
Posted: Tue May 26, 2009 1:28 am Post subject:
About 30 years ago when VSAM became part of my working life, one of the solutions implemented was that when ever a new VSAM cluster was defined, it always contained one dummy record with a low values key and all of these problems disappeared. _________________ If it's true that we are here to help others,
then what exactly are the others here for ?
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum