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
 

 

How we connect VSAM file to CICS

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

New User


Joined: 29 Sep 2004
Posts: 35
Location: bangalore

PostPosted: Thu Nov 04, 2004 7:51 pm    Post subject: How we connect VSAM file to CICS
Reply with quote

how we coonect VSAM file to CICS
Back to top
View user's profile Send private message

jz1b0c

Active User


Joined: 25 Jan 2004
Posts: 160
Location: Toronto, Canada

PostPosted: Sat Nov 13, 2004 12:49 am    Post subject: Re: VSAM
Reply with quote

chandrasekhar wrote:
how we coonect VSAM file to CICS


Hello Chandrasekhar,

Every file used in CICS needs to have an entry in FCT (File control Table)

FCT contains DDNAME DSNAME
DDNAME --> is the logical file name that you will be using in your source
program. maximum length is 8 chanracters.

DSNAME --> This is the Physical file name, like ABCD.XYZ.FILENAME

From your CICS region you can type the below command to see what's the physical file name associated with a logical file name

CEMT I FILE (DDNAME) /* press enter , It will tell you the physical file
name*/

In case you want to modify the Physical file name , first you need to disable the existing file and overwrite the new file name. see below

CEMT I FILE (DDNAME) DIS /* ENTER*/

This will be the result of above command
--> CEMT I FILE (DDNAME)
'ABCD.XYZ.VSAMFILE'

again type the below command
CEMT S FILE (DDNAME) DIS
'ABCD.XYZ.VSAMFILE'

now overwrite your new file name here
CEMT S FILE (DDNAME) ENA
'A111.X1Z.ESDSFILE'

Remember you can change physical filename but not the logical file name.

If you dont have access to do all these, ask your administrator to do the set up for you.
Back to top
View user's profile Send private message
muthukumarapandian

New User


Joined: 08 Oct 2004
Posts: 42
Location: chennai, india

PostPosted: Thu Feb 24, 2005 7:39 pm    Post subject:
Reply with quote

All of ur file entries are in FCT . so if ur using any file means u have to register ur file in cics region .

to register ur file the commands as fiollows,

CEDA def file(file name)

press enter and u have to give teh path of ur vsam file in dsnname and give the key length and press enter.

CEDA ins file(file name)

if ur file is not opening / closing properly then use

CEMT set file (file name) ope / clo
Back to top
View user's profile Send private message
rajandhla

Active User


Joined: 18 Oct 2005
Posts: 182
Location: Luton UK

PostPosted: Tue May 23, 2006 4:25 pm    Post subject:
Reply with quote

thanks guys its helpful...
Back to top
View user's profile Send private message
maninair29

New User


Joined: 28 Sep 2006
Posts: 1

PostPosted: Sun Oct 01, 2006 2:15 am    Post subject: how to define an RCT entry
Reply with quote

i have to give the RCT entries manually.. There is no system admin to give these entries. I have permission to do that. Please tell me how to give those values. Is it possible using ceda.
Back to top
View user's profile Send private message
meetreks

New User


Joined: 28 Sep 2006
Posts: 26
Location: Edinburgh

PostPosted: Mon Oct 02, 2006 3:41 pm    Post subject: Re: How we connect VSAM file to CICS
Reply with quote

Yes, it is possible USING CEDA, but it is the FCT entry and not the RCT entry you require for the VSAM file
Back to top
View user's profile Send private message
JohnSathish

New User


Joined: 04 Oct 2006
Posts: 1
Location: Chennai

PostPosted: Sun Oct 08, 2006 1:04 am    Post subject: John cics
Reply with quote

Tell me the role of mainframe system programmer who take cics as specialization.




John S babu
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 Converting Variable block file to Fix... bhavana yalavarthi DFSORT/ICETOOL 10 Tue May 16, 2017 2:20 pm
No new posts Getting error while opening a variabl... apandey1 COBOL Programming 5 Fri May 05, 2017 12:22 pm
No new posts Issue with NDM process to transmit ES... chetanambi All Other Mainframe Topics 6 Wed May 03, 2017 10:52 am
No new posts File processing vishwakotin Mainframe Interview Questions 9 Fri Apr 28, 2017 11:38 am
No new posts Occurrence of various strings within ... TS70363 JCL & VSAM 1 Thu Apr 27, 2017 8:18 pm


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