Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

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

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CICS
View previous topic :: :: View next topic  
Author Message
shr_amar
Warnings : 2

Active User


Joined: 02 May 2005
Posts: 126
Location: UK

PostPosted: Thu Aug 15, 2013 4:36 pm    Post subject: Batch JCL to define/install /FCT entries of VSAM files
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: 1715
Location: UK

PostPosted: Thu Aug 15, 2013 4:41 pm    Post subject:
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: 7913
Location: Bellevue, IA

PostPosted: Thu Aug 15, 2013 5:14 pm    Post subject:
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: 2502
Location: Atlanta, Georgia, USA

PostPosted: Thu Aug 15, 2013 5:57 pm    Post subject: Reply to: Batch JCL to define/install /FCT entries of VSAM f
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: 126
Location: UK

PostPosted: Thu Aug 15, 2013 6:05 pm    Post subject:
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: 2502
Location: Atlanta, Georgia, USA

PostPosted: Thu Aug 15, 2013 6:09 pm    Post subject: Reply to: Batch JCL to define/install /FCT entries of VSAM f
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: 126
Location: UK

PostPosted: Thu Aug 15, 2013 6:18 pm    Post subject:
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: 7913
Location: Bellevue, IA

PostPosted: Thu Aug 15, 2013 7:02 pm    Post subject:
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    IBMMAINFRAMES.com Support Forums -> CICS All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts High CPU consumption Job using IAM fi... aswinir JCL & VSAM 8 Thu Dec 01, 2016 8:28 pm
No new posts How does a called pgm know if its cal... Graeme Westerman COBOL Programming 4 Tue Nov 29, 2016 9:25 pm
This topic is locked: you cannot edit posts or make replies. MIPS reduction for Batch job Virendra Shambharkar All Other Mainframe Topics 8 Mon Nov 07, 2016 4:02 pm
No new posts BWO option in VSAM blayek CICS 3 Sat Nov 05, 2016 10:47 am
No new posts Match or compare two files in VB Format anatol DFSORT/ICETOOL 14 Thu Nov 03, 2016 7:41 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us