IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Regarding opening the files in CICS Region using DADS Interf


IBM Mainframe Forums -> CICS
Post new topic   This topic is locked: you cannot edit posts or make replies.
View previous topic :: View next topic  
Author Message
ragu.vst

New User


Joined: 07 Nov 2010
Posts: 3
Location: Chennai

PostPosted: Wed Aug 29, 2012 10:49 am
Reply with quote

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
View user's profile Send private message
Bill O'Boyle

CICS Moderator


Joined: 14 Jan 2008
Posts: 2504
Location: Atlanta, Georgia, USA

PostPosted: Wed Aug 29, 2012 12:12 pm
Reply with quote

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
View user's profile Send private message
Poha Eater

New User


Joined: 31 Aug 2016
Posts: 74
Location: India

PostPosted: Wed Sep 20, 2017 9:23 pm
Reply with quote

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
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8569
Location: Dubuque, Iowa, USA

PostPosted: Wed Sep 20, 2017 9:47 pm
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   This topic is locked: you cannot edit posts or make replies. View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CICS

 


Similar Topics
Topic Forum Replies
No new posts COBOL/CICS Emulators CICS 2
No new posts DFHLS2WS WSDL com.ibm.cics.wsdl.prope... CICS 0
This topic is locked: you cannot edit posts or make replies. Copy list of files from PS to another... CLIST & REXX 11
No new posts How to get RBA value from CICS EVENT CICS 5
No new posts JOINKEYS to match two input files on ... DFSORT/ICETOOL 3
Search our Forums:

Back to Top