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
 

 

Browsing FCT Entry
Goto page 1, 2  Next
 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CICS
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    Post subject: Browsing FCT Entry
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

Active Member


Joined: 08 May 2006
Posts: 990
Location: Dublin, Ireland / Edinburgh, Scotland

PostPosted: Tue Nov 04, 2008 6:16 pm    Post subject:
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    Post subject:
Reply with quote

CICS-Supplied Transactions, SC33-1655-02
find it at: http://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    Post subject:
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

Active Member


Joined: 08 May 2006
Posts: 990
Location: Dublin, Ireland / Edinburgh, Scotland

PostPosted: Tue Nov 04, 2008 7:16 pm    Post subject:
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    Post subject:
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

Active Member


Joined: 08 May 2006
Posts: 990
Location: Dublin, Ireland / Edinburgh, Scotland

PostPosted: Wed Nov 05, 2008 3:27 pm    Post subject:
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    Post subject:
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    Post subject:
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    Post subject:
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    Post subject:
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

Active Member


Joined: 08 May 2006
Posts: 990
Location: Dublin, Ireland / Edinburgh, Scotland

PostPosted: Mon Nov 17, 2008 1:42 pm    Post subject:
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    Post subject:
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: 7914
Location: Bellevue, IA

PostPosted: Mon Nov 17, 2008 5:57 pm    Post subject:
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    Post subject:
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: 7914
Location: Bellevue, IA

PostPosted: Mon Nov 17, 2008 6:22 pm    Post subject:
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

Active Member


Joined: 08 May 2006
Posts: 990
Location: Dublin, Ireland / Edinburgh, Scotland

PostPosted: Mon Nov 17, 2008 6:24 pm    Post subject:
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    Post subject:
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: 7914
Location: Bellevue, IA

PostPosted: Mon Nov 17, 2008 6:56 pm    Post subject:
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

Active Member


Joined: 08 May 2006
Posts: 990
Location: Dublin, Ireland / Edinburgh, Scotland

PostPosted: Mon Nov 17, 2008 6:58 pm    Post subject:
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
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CICS All times are GMT + 6 Hours
Goto page 1, 2  Next
Page 1 of 2

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Automation of data entry using Rexx i... zingy.rajeev CLIST & REXX 4 Mon Aug 22, 2016 4:13 pm
This topic is locked: you cannot edit posts or make replies. Automation of data entry using Rexx i... zingy.rajeev CICS 0 Mon Aug 22, 2016 4:11 pm
No new posts what will happen improper PCB order s... srinivasulu.p IMS DB/DC 1 Mon Mar 24, 2014 8:27 am
No new posts Bulk Data entry in CICS Suceender Kumar CICS 9 Tue May 21, 2013 2:37 pm
No new posts How do I create an alias entry for an... Stefan JCL & VSAM 8 Mon Dec 10, 2012 4:06 pm


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