View previous topic :: View next topic
|
Author |
Message |
Vaishnavi Srivijaya
New User
Joined: 31 Oct 2007 Posts: 11 Location: Bangalore - India
|
|
|
|
Hi,
Is there any command in CICS which list all entries in FCT table? |
|
Back to top |
|
|
Garry Carroll
Senior Member
Joined: 08 May 2006 Posts: 1193 Location: Dublin, Ireland
|
|
|
|
How about CEMT ?
or
Garry. |
|
Back to top |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
Back to top |
|
|
Vaishnavi Srivijaya
New User
Joined: 31 Oct 2007 Posts: 11 Location: Bangalore - India
|
|
|
|
Hi,
Thanks for ur reply.
The file which i access is defined as a remote file for the CICS sub system i use. With CEMT command , the physical name of the file is not being listed. (it just says remote)
I am looking for a CICS command which will get me the physical file name.. Also curious to know how FCT entry is being set for remote files.
Thanks |
|
Back to top |
|
|
Garry Carroll
Senior Member
Joined: 08 May 2006 Posts: 1193 Location: Dublin, Ireland
|
|
|
|
Have you tried defining a remote transaction (say XEMT) which runs CEMT in the target CICS region?
Like any other CICS system, the FCT is defined using RDO. |
|
Back to top |
|
|
Earl Haigh
Active User
Joined: 25 Jul 2006 Posts: 475
|
|
|
|
Some installations do not have XEMT.
Signon to the remote CICS region and perform the CEMT command.
or
ask your CICS Systems support ? |
|
Back to top |
|
|
Garry Carroll
Senior Member
Joined: 08 May 2006 Posts: 1193 Location: Dublin, Ireland
|
|
|
|
Quote: |
Some installations do not have XEMT. |
I defined XEMT myself. I'm not aware of its existence otherwise - I just picked the first character X as an indicator of cross-region.
Regards,
Garry. |
|
Back to top |
|
|
Vaishnavi Srivijaya
New User
Joined: 31 Oct 2007 Posts: 11 Location: Bangalore - India
|
|
|
|
Thank you. i got the file name from sys admin as i need to proceed with my testing..
But just curios to know how exactly CICS works with remote files.
How does the FCT entry looks for remote files? Will there be the physical file name mentioned or any other indication?
Just wanted to know more abt remote file processing. |
|
Back to top |
|
|
Pradip kumar Mohanty
New User
Joined: 16 Sep 2007 Posts: 33 Location: India
|
|
|
|
If my memory serves well, the format of DFHFCT macro is somewhat as follows
DFHFCT TYPE=REMOTE
FILE=<ddname i.e. alias>
SYSIDNT=<system identifier of the file owning region>
KEYLEN=<key size>
RMTNAME=<remote ddname>
other attributes likeLRECl, RLS etc follows
Sorry, I'm not able to align the above FCT parameters properly. |
|
Back to top |
|
|
Earl Haigh
Active User
Joined: 25 Jul 2006 Posts: 475
|
|
|
|
Is there installations out there that still use DFHFCT macros ? |
|
Back to top |
|
|
namitjai
New User
Joined: 12 Feb 2008 Posts: 41 Location: Bangalore
|
|
|
|
Hi,
I am using a VSAM file in my CICS cobol application program. I defined that file in cics using CEDA. Fields I defined corresponding to that file are :
File name
DSName
KEYLENGTH
DISP Parameter
But when I am trying to run my transaction whole cics transaction is going down giving error saying
LSR pool 1 is being built dynamically by CICS because all of the
necessary parameters have not been supplied. Either there is no
LSRPOOL definition or it is incomplete. The following are not
defined: 'CI SIZE' 'STRINGS' 'MAXKEYLENGTH'. A delay is posible.
Please tell me the mistake I am making while defining VSAM file.
Thanks, |
|
Back to top |
|
|
Garry Carroll
Senior Member
Joined: 08 May 2006 Posts: 1193 Location: Dublin, Ireland
|
|
|
|
The definition is using LSRPOOL 1 and you haven't defined any LSRPOOL. CICS is creating an LSRPOOL for you (not necessarily the best way of creating a pool). Eityher define an LSRPOOL or use NSR for the file.
Garry. |
|
Back to top |
|
|
namitjai
New User
Joined: 12 Feb 2008 Posts: 41 Location: Bangalore
|
|
|
|
Can you tell me what all entry is required to be done in CICS to be able to use VSAM file in my cics-application program. Considering that I haven't define any of the FCT entry and also didn't define any of the LSRPOOL(using default LSRPOOL).
What is the significance of defining LSRPOOL? |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
CEDA lists the LSRPOOL pretty early in the process where it's hard to miss:
Code: |
DEF FI(TEST)
OVERTYPE TO MODIFY CICS RELEASE = 0620
CEDA DEFine File( TEST )
File ==> TEST
Group ==>
DEScription ==>
VSAM PARAMETERS
DSNAme ==>
Password ==> PASSWORD NOT SPECIFIED
RLsaccess ==> No Yes | No
LSrpoolid ==> 1 1-8 | None
READInteg ==> Uncommitted Uncommitted | Consistent | Repeatable
DSNSharing ==> Allreqs Allreqs | Modifyreqs
STRings ==> 001 1-255
Nsrgroup ==>
REMOTE ATTRIBUTES
REMOTESystem ==>
REMOTEName ==>
REMOTE AND CFDATATABLE PARAMETERS
RECORDSize ==> 1-32767
Keylength ==> 1-255 (1-16 For CF Datatable)
INITIAL STATUS
STAtus ==> Enabled Enabled | Disabled | Unenabled
Opentime ==> Firstref Firstref | Startup
DIsposition ==> Share Share | Old
BUFFERS
DAtabuffers ==> 00002 2-32767
Indexbuffers ==> 00001 1-32767
DATATABLE PARAMETERS
TABLE ==> No No | CIcs | User | CF
Maxnumrecs ==> Nolimit Nolimit | 1-99999999
CFDATATABLE PARAMETERS
Cfdtpool ==>
TABLEName ==>
UPDATEModel ==> Locking Contention | Locking
LOad ==> No No | Yes
DATA FORMAT
RECORDFormat ==> V V | F
+ OPERATIONS
+ Add ==> No No | Yes
BRowse ==> No No | Yes
DELete ==> No No | Yes
READ ==> Yes Yes | No
UPDATE ==> No No | Yes
AUTO JOURNALLING
JOurnal ==> No No | 1-99
JNLRead ==> None None | Updateonly | Readonly | All
JNLSYNCRead ==> No No | Yes
JNLUpdate ==> No No | Yes
JNLAdd ==> None None | Before | AFter | ALl
JNLSYNCWrite ==> Yes Yes | No
RECOVERY PARAMETERS
RECOVery ==> None None | Backoutonly | All
Fwdrecovlog ==> No No | 1-99
BAckuptype ==> Static Static | Dynamic
SECURITY
RESsecnum : 00 0-24 | Public |
Local Shared Resource Pools allow CICS to share buffers between VSAM files with similar characteristics. You need to find out from your CICS systems programmer how your LSRpools are set up since your VSAM file needs to be placed in a pool which has a keylength long enough for your file. If you specify NONE in the field (which is the fourth VSAM parameter) you get NSR (Non-Shared Resource) buffering and that can take more memory from the region if there are lots of files defined this way. LSRPool set up is extremely site-specific and in most cases region-specific so you cannot find out the details of your site setup here. |
|
Back to top |
|
|
namitjai
New User
Joined: 12 Feb 2008 Posts: 41 Location: Bangalore
|
|
|
|
So does that mean that LSRPOOL is defined for improving the memory usage in a system as is being shared between different files of same structure and even if I dont define any LSRPOOL and make lsrpoolid=none than also I can define my vsam file entry in cics region and work with VSAM file in my cics application program .
please correct me if I am wrong. |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
LSRPOOLS are used to improve memory usage in CICS by sharing buffers between VSAM files. If you set LSRPOOL=NONE in the CEDA definition, the VSAM file should be usable -- but notice the default access (which is on the second page of the CEDA definition) is READ; if you want to write to your VSAM file you'd better change the default! |
|
Back to top |
|
|
Garry Carroll
Senior Member
Joined: 08 May 2006 Posts: 1193 Location: Dublin, Ireland
|
|
|
|
While LSRPOOLS will allow sharing of buffers between files with similar characteristics, this can cause buffer-thrashing if high-use files are sharing the same buffers in the same pool. Tuning of LSRPOOLs is highly recommended.
A significant benefit to LSRPOOL use is the potential to optimize response time by reducing physical I/O. This is achieved by getting a high look-aside hit ratio, as CICS checks the bufferpool for the presence of a record, only performing physical I/O where the record is not present.
Garry. |
|
Back to top |
|
|
namitjai
New User
Joined: 12 Feb 2008 Posts: 41 Location: Bangalore
|
|
|
|
Thanks for your replies..
My situation is like this, I defined VSAM file using ceda command but when I checked cics job log that was saying that CI-SIZE,STRINGS,MAXKEYLENGTH are not defined due to which there was problem in the definition of VSAM file and when I was trying running that transaction whole CICS was going down.
So now I changed the
lsrpoolid=none
STRings ==> 001
RECORDSize ==> 00100
Keylength ==> 004
DAtabuffers ==> 00002
Indexbuffers ==> 00001
But when I am givin CEMT I FILE(parmfil) values I am getting are
Maxnumrecs( 00000000 )
Keylength( 000 )
Recordsize( 00100 )
why is it showing keylength as 0000? Also which entry corresponds to CI-SIZE. |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
Quote: |
when I was trying running that transaction whole CICS was going down |
Did you go back and check that the parameters installed into CEDA correctly? I'd be very concerned if the region was going down while running CEDA about whether or not the file got updated.
I'm not sure what is being referred to in the reference to CISIZE -- that's usually selected in the LSRPOOL definition. |
|
Back to top |
|
|
Garry Carroll
Senior Member
Joined: 08 May 2006 Posts: 1193 Location: Dublin, Ireland
|
|
|
|
Quote: |
But when I am givin CEMT I FILE(parmfil) values I am getting are
Maxnumrecs( 00000000 )
Keylength( 000 )
Recordsize( 00100 ) |
These values are not returned by CEMT - they are viewed in CEDA.
None of these values correspond to CI-SIZE. In the CEDA DEFINE Lsr(n) the DATABUFFERS correspond to the CI-SIZE. Typically, you would have the index CIsize correspond to the smaller buffers and the data in the larger buffers.
Garry. |
|
Back to top |
|
|
namitjai
New User
Joined: 12 Feb 2008 Posts: 41 Location: Bangalore
|
|
|
|
so DAtabuffers ==> 00002 will take care of defining CISIZE??? |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
Garry: ever go to the left of a CEMT file display and put a question mark? Those three values are some of what's returned. |
|
Back to top |
|
|
Garry Carroll
Senior Member
Joined: 08 May 2006 Posts: 1193 Location: Dublin, Ireland
|
|
|
|
Nope, must say I never knew that option was there.
Live and learn...
Thanks,
Garry. |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
Garry: it can come in handy at times. And it's amazing how much I learn some days ...
namitjai: I would have thought setting LSRPOOL=NONE would have resolved the CISIZE issue; can you post the error message from the message log or system log for review? |
|
Back to top |
|
|
namitjai
New User
Joined: 12 Feb 2008 Posts: 41 Location: Bangalore
|
|
|
|
There is some problem with the start up job in cics due to which my XYZLIST is not been able to defined fully and I am getting abend APC3 while running transaction. I am waiting ibm people to fix this..once this is done I will do the needful...
I really appreciate your help.
Thanks |
|
Back to top |
|
|
|