For Programmers: Free Programming Magazines  


Home > Archive > ASM370 > July 2004 > How to get to the FCT in CICS?









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author How to get to the FCT in CICS?
David Logan

2004-07-28, 3:56 pm

I don't have a data areas manual for CICS. Does anyone know how to get
to the FCT from a CICS program? Any language will do, I just need to
know the control block path.

David Logan
Tom Grieve

2004-07-28, 3:56 pm

"David Logan" <djlogan2@comcast.net> wrote in message
news:_oENc.174648$IQ4.61018@attbi_s02...
> I don't have a data areas manual for CICS. Does anyone know how to get
> to the FCT from a CICS program? Any language will do, I just need to
> know the control block path.
>
> David Logan

Not so easy these days. What do you want to do that can't be achieved using
EXEC CICS INQUIRE/SET FILE commands?

Tom


Pete Nelson

2004-07-28, 3:56 pm

David Logan <djlogan2@comcast.net> wrote in message news:<_oENc.174648$IQ4.61018@attbi_s02>...
> I don't have a data areas manual for CICS. Does anyone know how to get
> to the FCT from a CICS program? Any language will do, I just need to
> know the control block path.
>
> David Logan


Is there a reason you need to get to the raw FCT (as opposed to using
EXEC CICS INQUIRE FILE -- possibly with the browse feature)? IBM does
not encourage direct access to the FCT or other control blocks, as
they are release dependent.

The CICS System Programming Reference manual has documentation for
INQUIRE FILE, SET FILE, and the browse feature of INQUIRE FILE.
David logan

2004-07-28, 3:56 pm

Tom Grieve wrote:
> "David Logan" <djlogan2@comcast.net> wrote in message
> news:_oENc.174648$IQ4.61018@attbi_s02...
>
>
> Not so easy these days. What do you want to do that can't be achieved using
> EXEC CICS INQUIRE/SET FILE commands?
>
> Tom
>
>

Well, nothing, actually. INQUIRE FILE() is perfect, except that they
allude to the fact that it's a systems programming API and not an
application programming API. I am afraid that I will have trouble
getting my application to work on customer sites using that API.

Would I? Is it generally accessible on production CICS systems?

David Logan
Binyamin Dissen

2004-07-28, 8:55 pm

On Wed, 28 Jul 2004 19:50:36 GMT David logan <david_logan@g1.com> wrote:

:>Tom Grieve wrote:
:>> "David Logan" <djlogan2@comcast.net> wrote in message
:>> news:_oENc.174648$IQ4.61018@attbi_s02...

:>>>I don't have a data areas manual for CICS. Does anyone know how to get
:>>>to the FCT from a CICS program? Any language will do, I just need to
:>>>know the control block path.

:>> Not so easy these days. What do you want to do that can't be achieved using
:>> EXEC CICS INQUIRE/SET FILE commands?

:>Well, nothing, actually. INQUIRE FILE() is perfect, except that they
:>allude to the fact that it's a systems programming API and not an
:>application programming API. I am afraid that I will have trouble
:>getting my application to work on customer sites using that API.

No, it is a silly compiler option to prevent application programmers from
hurting themselves.

:>Would I? Is it generally accessible on production CICS systems?

Would the INQUIRE work? Depends on XCMD and the security at the target CICS.

--
Binyamin Dissen <bdissen@dissensoftware.com>
http://www.dissensoftware.com

Director, Dissen Software, Bar & Grill - Israel


Should you use the mailblocks package and expect a response from me,
you should preauthorize the dissensoftware.com domain.

I very rarely bother responding to challenge/response systems,
especially those from irresponsible companies.
David logan

2004-07-28, 8:55 pm

Binyamin Dissen wrote:

> On Wed, 28 Jul 2004 19:50:36 GMT David logan <david_logan@g1.com> wrote:
>
> :>Tom Grieve wrote:
> :>> "David Logan" <djlogan2@comcast.net> wrote in message
> :>> news:_oENc.174648$IQ4.61018@attbi_s02...
>
> :>>>I don't have a data areas manual for CICS. Does anyone know how to get
> :>>>to the FCT from a CICS program? Any language will do, I just need to
> :>>>know the control block path.
>
> :>> Not so easy these days. What do you want to do that can't be achieved using
> :>> EXEC CICS INQUIRE/SET FILE commands?
>
> :>Well, nothing, actually. INQUIRE FILE() is perfect, except that they
> :>allude to the fact that it's a systems programming API and not an
> :>application programming API. I am afraid that I will have trouble
> :>getting my application to work on customer sites using that API.
>
> No, it is a silly compiler option to prevent application programmers from
> hurting themselves.
>
> :>Would I? Is it generally accessible on production CICS systems?
>
> Would the INQUIRE work? Depends on XCMD and the security at the target CICS.


Right, but that's my question. Is this generally usable on production
CICS systems? Or is it generally restricted? If I put this application
on 1000 CICS regions, would it work 100%, 70%, 30% or 0%?

In most cases, availability and security at this level is defaulted, or
coupled within a larger group. i.e. would "INQUIRE FILE()" be under
application security, thus being generally available on a CICS region,
or would it be under some tigher system security, and generally unavailable?

David Logan

>
> --
> Binyamin Dissen <bdissen@dissensoftware.com>
> http://www.dissensoftware.com
>
> Director, Dissen Software, Bar & Grill - Israel
>
>
> Should you use the mailblocks package and expect a response from me,
> you should preauthorize the dissensoftware.com domain.
>
> I very rarely bother responding to challenge/response systems,
> especially those from irresponsible companies.

SkippyPB

2004-07-29, 3:55 pm

On Wed, 28 Jul 2004 21:31:08 GMT, David logan <david_logan@g1.com>
enlightened us:
[color=darkred]
>Binyamin Dissen wrote:
>
>
>Right, but that's my question. Is this generally usable on production
>CICS systems? Or is it generally restricted? If I put this application
>on 1000 CICS regions, would it work 100%, 70%, 30% or 0%?
>
>In most cases, availability and security at this level is defaulted, or
>coupled within a larger group. i.e. would "INQUIRE FILE()" be under
>application security, thus being generally available on a CICS region,
>or would it be under some tigher system security, and generally unavailable?
>
>David Logan
>

Another problem may be if the program that has the INQUIRE in it is
running in an AOR and the files are in an FOR, you may not get the
information you are looking for.

Regards,

////
(o o)
-oOO--(_)--OOo-


Micro$oft Haiku Error Message #116

Having been erased,
The document you're sing
Must now be retyped.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Remove nospam to email me.

Steve
David logan

2004-07-29, 3:55 pm

SkippyPB wrote:

> On Wed, 28 Jul 2004 21:31:08 GMT, David logan <david_logan@g1.com>
> enlightened us:
>
>
>
>
> Another problem may be if the program that has the INQUIRE in it is
> running in an AOR and the files are in an FOR, you may not get the
> information you are looking for.
>
> Regards,
>
> ////
> (o o)
> -oOO--(_)--OOo-
>
>
> Micro$oft Haiku Error Message #116
>
> Having been erased,
> The document you're sing
> Must now be retyped.
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
> Remove nospam to email me.
>
> Steve


Well, that's a problem regardless, even if I were to walk the raw FCT.

David Logan
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com