IBM Mainframe Forum Index
 
Register
 
IBM Mainframe Forum Index Mainframe: Search Log in to check your private messages Log in
 

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: 2431
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: 8566
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: 2504
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: 2504
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: 8566
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 All times are GMT + 6 Hours
Forum Index -> CICS
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Forum Replies
No new posts JOINKEYS to match two input files on ... DFSORT/ICETOOL 3
No new posts How to pass arguments in a ISPSTART c... CLIST & REXX 6
No new posts How to define transaction that trigge... CICS 2
No new posts Group comparison/update between two f... DFSORT/ICETOOL 10
No new posts Need assistance formatting when joini... SYNCSORT 8

Back to Top