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

Browsing FCT Entry


IBM Mainframe Forums -> CICS
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Vaishnavi Srivijaya

New User


Joined: 31 Oct 2007
Posts: 11
Location: Bangalore - India

PostPosted: Tue Nov 04, 2008 5:58 pm
Reply with quote

Hi,

Is there any command in CICS which list all entries in FCT table?
Back to top
View user's profile Send private message
Garry Carroll

Senior Member


Joined: 08 May 2006
Posts: 1193
Location: Dublin, Ireland

PostPosted: Tue Nov 04, 2008 6:16 pm
Reply with quote

How about CEMT ?

Code:
CEMT I FI(*)

or

Code:
CEMT I DSN(*)


Garry.
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Tue Nov 04, 2008 6:17 pm
Reply with quote

CICS-Supplied Transactions, SC33-1655-02
find it at: publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/FINDBOOK?filter=CICS&SUBMIT=Find

contains all the available transactions. Pick out those you want to use and find out if you have authorization to use them.
Back to top
View user's profile Send private message
Vaishnavi Srivijaya

New User


Joined: 31 Oct 2007
Posts: 11
Location: Bangalore - India

PostPosted: Tue Nov 04, 2008 7:04 pm
Reply with quote

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
View user's profile Send private message
Garry Carroll

Senior Member


Joined: 08 May 2006
Posts: 1193
Location: Dublin, Ireland

PostPosted: Tue Nov 04, 2008 7:16 pm
Reply with quote

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
View user's profile Send private message
Earl Haigh

Active User


Joined: 25 Jul 2006
Posts: 475

PostPosted: Tue Nov 04, 2008 11:25 pm
Reply with quote

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
View user's profile Send private message
Garry Carroll

Senior Member


Joined: 08 May 2006
Posts: 1193
Location: Dublin, Ireland

PostPosted: Wed Nov 05, 2008 3:27 pm
Reply with quote

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
View user's profile Send private message
Vaishnavi Srivijaya

New User


Joined: 31 Oct 2007
Posts: 11
Location: Bangalore - India

PostPosted: Wed Nov 05, 2008 3:40 pm
Reply with quote

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
View user's profile Send private message
Pradip kumar Mohanty

New User


Joined: 16 Sep 2007
Posts: 33
Location: India

PostPosted: Thu Nov 13, 2008 9:58 pm
Reply with quote

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
View user's profile Send private message
Earl Haigh

Active User


Joined: 25 Jul 2006
Posts: 475

PostPosted: Thu Nov 13, 2008 11:33 pm
Reply with quote

Is there installations out there that still use DFHFCT macros ?
Back to top
View user's profile Send private message
namitjai

New User


Joined: 12 Feb 2008
Posts: 41
Location: Bangalore

PostPosted: Mon Nov 17, 2008 11:56 am
Reply with quote

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
View user's profile Send private message
Garry Carroll

Senior Member


Joined: 08 May 2006
Posts: 1193
Location: Dublin, Ireland

PostPosted: Mon Nov 17, 2008 1:42 pm
Reply with quote

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
View user's profile Send private message
namitjai

New User


Joined: 12 Feb 2008
Posts: 41
Location: Bangalore

PostPosted: Mon Nov 17, 2008 5:47 pm
Reply with quote

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
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Mon Nov 17, 2008 5:57 pm
Reply with quote

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
View user's profile Send private message
namitjai

New User


Joined: 12 Feb 2008
Posts: 41
Location: Bangalore

PostPosted: Mon Nov 17, 2008 6:08 pm
Reply with quote

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
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Mon Nov 17, 2008 6:22 pm
Reply with quote

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
View user's profile Send private message
Garry Carroll

Senior Member


Joined: 08 May 2006
Posts: 1193
Location: Dublin, Ireland

PostPosted: Mon Nov 17, 2008 6:24 pm
Reply with quote

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
View user's profile Send private message
namitjai

New User


Joined: 12 Feb 2008
Posts: 41
Location: Bangalore

PostPosted: Mon Nov 17, 2008 6:44 pm
Reply with quote

Thanks for your replies..icon_smile.gif
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
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Mon Nov 17, 2008 6:56 pm
Reply with quote

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
View user's profile Send private message
Garry Carroll

Senior Member


Joined: 08 May 2006
Posts: 1193
Location: Dublin, Ireland

PostPosted: Mon Nov 17, 2008 6:58 pm
Reply with quote

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
View user's profile Send private message
namitjai

New User


Joined: 12 Feb 2008
Posts: 41
Location: Bangalore

PostPosted: Mon Nov 17, 2008 7:05 pm
Reply with quote

so DAtabuffers ==> 00002 will take care of defining CISIZE???
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Mon Nov 17, 2008 7:05 pm
Reply with quote

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
View user's profile Send private message
Garry Carroll

Senior Member


Joined: 08 May 2006
Posts: 1193
Location: Dublin, Ireland

PostPosted: Mon Nov 17, 2008 7:53 pm
Reply with quote

Nope, must say I never knew that option was there.

Live and learn...

Thanks,
Garry.
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Mon Nov 17, 2008 8:42 pm
Reply with quote

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
View user's profile Send private message
namitjai

New User


Joined: 12 Feb 2008
Posts: 41
Location: Bangalore

PostPosted: Mon Nov 17, 2008 8:47 pm
Reply with quote

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
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 Goto page 1, 2  Next

 


Similar Topics
Topic Forum Replies
No new posts Multiple Entry PL/I & Assembler 5
No new posts Browsing member from any PDS CLIST & REXX 7
No new posts Automation of data entry using Rexx i... CLIST & REXX 4
This topic is locked: you cannot edit posts or make replies. Automation of data entry using Rexx i... CICS 0
No new posts what will happen improper PCB order s... IMS DB/DC 1
Search our Forums:

Back to Top