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

How we connect VSAM file to CICS


IBM Mainframe Forums -> CICS
Post new topic   Reply to topic
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
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
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
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
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
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
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CICS

 


Similar Topics
Topic Forum Replies
No new posts Compare 2 files and retrive records f... DFSORT/ICETOOL 3
No new posts FTP VB File from Mainframe retaining ... JCL & VSAM 8
No new posts Extract the file name from another fi... DFSORT/ICETOOL 6
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts Using API Gateway from CICS program CICS 0
Search our Forums:

Back to Top