View previous topic :: View next topic
|
Author |
Message |
ragu.vst
New User
Joined: 07 Nov 2010 Posts: 3 Location: Chennai
|
|
|
|
Hello,
We are using the DADS batch interface from JCL to deallocate and allocate a CICS file.
The sequence of our job:
1.Deallocate CICS file
2.Process and format input file
3.Delete/Define VSAM file - used IDCAMS to delete/define
4.Load VSAM file - used IDCAMS with REPRO to load
5.Take backup of VSAM - used IDCAMS
6.Allocate CICS file
The job ran successfully for years, until we added conditional JCL processing.
The input files were sometimes duplicates so the step to Load VSAM file would fail with RC=12 so we included conditional JCL
COND01A IF OSH00206.RC <= 4 THEN was added to step 5 (take backup of VSAM). OSH00206 is the step 4 (Load VSAM file).
If the step to Load VSAM file had a RC= 4 or less, then
VSAM back step would run
Allocate CICS file would run
ENDIF state followed Step 6 above
Once this was added, job failed in step 6 with the "CONDITION CODE=008 DADSA461 REQUEST FAILED ON ONE OR MORE FILES/DBDS/QUEUES." when we try to allocate the CICS file.
We tried adding a WAIT step between steps 5 & 6. it worked in our TEST environment, but not in our PROD.Can anyone help me in understanding the reason behind this abend and the solution that can avoid this abend from abending again? |
|
Back to top |
|
|
Bill O'Boyle
CICS Moderator
Joined: 14 Jan 2008 Posts: 2501 Location: Atlanta, Georgia, USA
|
|
|
|
Please contact the vendor directly for assistance, providing you're an authorised shop -
http://www.netec2000.com
Or, review the documentation and the verbiage associated with the error message.
I have many customer's who use CAFC and this is what I would do.
When you pay maintenance, it is the vendor's JOB to assist a customer. |
|
Back to top |
|
|
Poha Eater
New User
Joined: 31 Aug 2016 Posts: 74 Location: India
|
|
|
|
Hi ragu.vst,
I have to write a JCL for the exact same requirement which you have mentioned. It should have below steps :
3.Delete/Define VSAM file - used IDCAMS to delete/define
4.Load VSAM file - used IDCAMS with REPRO to load
5.Take backup of VSAM - used IDCAMS
6.Allocate CICS file
But i dont have any idea about how to invoke CA-DADS/PLUS 4.0
through JCL and allocate the VSAM files for a CICS region.
I have written the JCL for defining and loading the VSAM files but i dont have any idea about how to write JCL for invoking this utility through JCL.
Can you please share this JCL about which you have mentioned in your post for invoking CA DADS Plus and allocating those VSAM files for CICS region. It will really help me to complete a long pending requirement.
Thanks !! |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
Poha Eater: the LAST post made by ragu.vst was the post you refer to. Do you REALLY think after FIVE years that you will get a response?
You need to read the CA-DADS manual; if your site has the software then you have access to the manuals, possibly hardcopy or through an internal company web site or through the vendor web site (which may require you to register with the vendor using your site ID code). If you cannot find an example of the JCL required in the manual, contact the vendor through their support web site. |
|
Back to top |
|
|
|