Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
cics system definition file

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

New User


Joined: 31 Jul 2007
Posts: 45
Location: india

PostPosted: Fri Aug 08, 2008 12:39 pm    Post subject: cics system definition file
Reply with quote

Hi,
Is is possible to query cics system definition file (which is a vsam file) in a cobol program?

I have this doubt since it is a system file and that using a system file in a user written cobol program would alter it.
Back to top
View user's profile Send private message

Garry Carroll

Active Member


Joined: 08 May 2006
Posts: 998
Location: Dublin, Ireland / Edinburgh, Scotland

PostPosted: Fri Aug 08, 2008 2:28 pm    Post subject:
Reply with quote

If you have the information of the structure of the data, there's no reason why you couldn't READ the file for queries.

Regards,
Garry.
Back to top
View user's profile Send private message
girish_s

New User


Joined: 31 Jul 2007
Posts: 45
Location: india

PostPosted: Fri Aug 08, 2008 2:46 pm    Post subject:
Reply with quote

the problem here is that the definition of the csd file is not known. We have no idea of how the key structure is. Any inputs regarding it?
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10326
Location: italy

PostPosted: Fri Aug 08, 2008 2:49 pm    Post subject: Reply to: cics system definition file
Reply with quote

what are the requirement that are not satified by the standard cics CSD utility ?
Back to top
View user's profile Send private message
Garry Carroll

Active Member


Joined: 08 May 2006
Posts: 998
Location: Dublin, Ireland / Edinburgh, Scotland

PostPosted: Fri Aug 08, 2008 2:54 pm    Post subject:
Reply with quote

You might start by looking at the IBM-supplied ADFHSAMP(DFH£CRFP) - the CSD Cross Referencing Sample Program.

Regards,
Garry.
Back to top
View user's profile Send private message
mkarthikeyan

New User


Joined: 07 Aug 2008
Posts: 34
Location: Bangalore

PostPosted: Sat Aug 09, 2008 9:48 am    Post subject: Reply to: cics system definition file
Reply with quote

You can use DFHCSDUP (CICS RDO OFF-LINE UTILITY PROGRAM) to list all the objects defined in CSD file

!!! Cautious: Consult with System admin for more info

//CONSDEF EXEC PGM=DFHCSDUP
//STEPLIB DD DSN=HLQ.SDFHLOAD,DISP=SHR
//DFHCSD DD DSN=HLQ.DFHCSD,DISP=OLD
//SYSPRINT DD SYSOUT=*
//SYSIN DD *
LIST ALL OBJECTS
/*

Thanks
Karthikeyan

[S/360] was the biggest, riskiest decision I ever made, and I agonized about it for weeks,but deep down I believed there was nothing IBM couldn't do.
- Tom Watson, Jr. IBM Chairman and CEO 1961-1971
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 Identifying Interfaces in CICS/mainframe Ashishpanpaliya CICS 5 Fri Oct 13, 2017 3:21 pm
No new posts Accessing CICS tran with map from JCL... navdeepaggarwal CICS 5 Tue Oct 03, 2017 6:15 pm
No new posts Execute JCL step based on the content... sprikitik JCL & VSAM 2 Tue Oct 03, 2017 10:03 am
This topic is locked: you cannot edit posts or make replies. PS file data should be passed as symb... d_sarlie JCL & VSAM 15 Tue Oct 03, 2017 5:18 am
No new posts Partial color change of a field in CI... waseem0424 CICS 5 Fri Sep 29, 2017 7:56 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us