Mike Chantrey Intermediate
Joined: 10 Sep 2003 Posts: 234 Topics: 1 Location: Wansford
|
Posted: Wed Jun 30, 2004 6:37 am Post subject: |
|
|
Quote: |
what are methods exists to use Vsam files in CICS region.
|
The main commands for accessing/updating VSAM files in a CICS program are:
EXEC CICS READ, WRITE, REWRITE, DELETE, UNLOCK, STARTBR, ENDBR
which are all described in the "CICS application programming reference" manual available via the manuals link on this board's front page
Quote: |
Without registering files in FCT, can we use in Cics regiion
|
All VSAM files in CICS need to be accessed via an FCT entry. This entry can be created as follows:
MACRO FCT definition (old CICS releases only)
CEDA FILE definition
or dynamically via
EXEC CICS CREATE FILE command
However, an FCT entry created by any of these methods can also be dynamcially switched to point to any VSAM file using EXEC CICS SET FILE so one 'dummy' FCT entry can be used to access many files if necessary.
You may be restricted by security settings as to which files you can access from the CICS service. |
|