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

Batch JCL to define/install /FCT entries of VSAM files


IBM Mainframe Forums -> CICS
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
shr_amar
Warnings : 2

Active User


Joined: 02 May 2005
Posts: 128
Location: UK

PostPosted: Thu Aug 15, 2013 4:36 pm
Reply with quote

Hello Freinds,

I need to define around 60 fines in CICS region . I know this can be done by tirgeering CEDA but need to know if there are any batch JCL which can be used.

Any sample JCL will be a help.

Thanks
Back to top
View user's profile Send private message
Nic Clouston

Global Moderator


Joined: 10 May 2007
Posts: 2455
Location: Hampshire, UK

PostPosted: Thu Aug 15, 2013 4:41 pm
Reply with quote

I suggest that you do what you should have already done before posting - Google. Specifying BATCH CEDA I got a hit for sample JCL in 10 seconds.
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


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

PostPosted: Thu Aug 15, 2013 5:14 pm
Reply with quote

Find the CICS Resource Definition Guide manual for your release of CICS and read the chapter titled The resource defintiion batch utility DFHCSDUP to find out about batch definition of resources. Note that you will need to discuss this with your site support group as many sites do not allow application programmers to use DFHCSDUP.
Back to top
View user's profile Send private message
Bill O'Boyle

CICS Moderator


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

PostPosted: Thu Aug 15, 2013 5:57 pm
Reply with quote

IBM Utility "DFHCSDUP" can be used, except, it can't perform a CEDA INSTALL.

For INSTALL's, you'll need to write a User Server Program, which issues a CICS LINK API to "DFHEDAP", passing a 20-byte commarea, consisting of five 31-Bit addresses.

Normally, this interface would consist of an EXCI (Batch) User Client Program issuing a DPL to the User Server Program in the target region.

If you need to perform INSTALL's and you can't wait until region-recycle, then you'll need "DFHEDAP" or issue an INSTALL using CEDA.

You may want to search IBMMAINFRAMES for "DFHEDAP" or Google.

HTH....
Back to top
View user's profile Send private message
shr_amar
Warnings : 2

Active User


Joined: 02 May 2005
Posts: 128
Location: UK

PostPosted: Thu Aug 15, 2013 6:05 pm
Reply with quote

I have now created a jcl but dont know from where to locate the CSD file (DFHCSD) .

Any idea how to locate what CSC file need to b eused
Back to top
View user's profile Send private message
Bill O'Boyle

CICS Moderator


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

PostPosted: Thu Aug 15, 2013 6:09 pm
Reply with quote

Logon to the target region and issue -
Code:

CEMT INQ FILE(DFHCSD)

It should expand to include the DSN or you can find the DSN in the target CICS startup deck as part of the SIT.
Back to top
View user's profile Send private message
shr_amar
Warnings : 2

Active User


Joined: 02 May 2005
Posts: 128
Location: UK

PostPosted: Thu Aug 15, 2013 6:18 pm
Reply with quote

Thanks Bill,

it provide me DSN of CSD but can i add mine on top of this or i have to replace existing one.


INQ FILE(DFHCSD)
STATUS: RESULTS - OVERTYPE TO MODIFY
Fil(DFHCSD ) Vsa Clo Une Rea Upd Add Bro Del Sha
Dsn( GLS6.DFHCSD.REG00 )
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


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

PostPosted: Thu Aug 15, 2013 7:02 pm
Reply with quote

If you want your batch definitions to be available to that CICS region, you MUST use the given DFHCSD file. You cannot substitute your own file unless you go through your site support group and they change the start up JCL or SIT to match. Note that the DFHCSD file is a VSAM file, so the defintiions you are giving are going to be added to the file and not replace anything (unless you are changing a definition that already exists).
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CICS

 


Similar Topics
Topic Forum Replies
No new posts Compare 2 files(F1 & F2) and writ... JCL & VSAM 8
No new posts Error when install DB2 DB2 2
No new posts Write line by line from two files DFSORT/ICETOOL 7
No new posts Access to non cataloged VSAM file JCL & VSAM 18
No new posts Compare only first records of the fil... SYNCSORT 7
Search our Forums:

Back to Top