View previous topic :: View next topic
|
Author |
Message |
k_rajen1
New User
Joined: 03 Jun 2009 Posts: 13 Location: Hyderabd
|
|
|
|
Hi
I am trying to load a program in CICS by using batch program(AFCP2016), but receiving below error
01/25/2010 07:51:15 CAFC0371 AFCP2016 LENGTH OF ENTRY TYPE TOO LONG
Below passed as input
PGM=AFCP2016,PARM='cicsregion-name,CECI,LO PROG(prog-name)'
Please let me know how to resolve the issue |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
wat about looking at the docs of the AFCP2016 program ?? |
|
Back to top |
|
|
k_rajen1
New User
Joined: 03 Jun 2009 Posts: 13 Location: Hyderabd
|
|
|
|
Enrico,
I tried looking into manual,but not able to find out much. I tried searching in google as well as forum still not able to find much. Please help me how to resolve the issue. |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
did it happen to google for CAFC0371
ask Your support about it
or look at the manual for the CAFC0371 explanation!
if Your organization is licensed for the program the manuals should be available
if You are a contractor make sure that your agreement with the customer
gives You the right to access the relevant manuals |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
Quote: |
Below passed as input
PGM=AFCP2016,PARM='cicsregion-name,CECI,LO PROG(prog-name)' |
This fails. . .
What does one that works look like. . .? |
|
Back to top |
|
|
k_rajen1
New User
Joined: 03 Jun 2009 Posts: 13 Location: Hyderabd
|
|
|
|
Enrico,
Manual says as below
CAFC0371
MESSAGE: LENGTH OF ENTRY TYPE TOO LONG
DESCRIPTION: THE ENTRY TYPE CAN ONLY BE 1 CHARACTER.
RESPONSE: CORRECT THE ENTRY TYPE.
But i am not able to resolve, can you please tell me what is the entry type in my case. |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
Ok so You got the messages manual,
what does the user manual say,
or follow Dick' s advice
What does one that works look like. . .? |
|
Back to top |
|
|
k_rajen1
New User
Joined: 03 Jun 2009 Posts: 13 Location: Hyderabd
|
|
|
|
I am affarid that i am not able to get you people. Could you please elaborate the meaning of"What does one that works look like. . .?" |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
where did You get the jcl You are using ???
look in the same place for something that works!
You cannot blame us for not having the manuals for the products You are using...
you should have them
also look at the cics manuals for the docs of the transaction You want to run |
|
Back to top |
|
|
Bill O'Boyle
CICS Moderator
Joined: 14 Jan 2008 Posts: 2501 Location: Atlanta, Georgia, USA
|
|
|
|
If all you're trying to do is to load a program into memory, try -
Code: |
PGM=AFCP2016,PARM='REGION-ID,CEMT,S PROG(PROGNAME) PHA' |
Perhaps you're not authorized to issue a CECI transid? Has this worked in other other regions, under your Userid? If this is Production, then CECI usage is restricted to a few people only.
Follow Dick's suggestion and speak with your Tech Support folks....
Bill |
|
Back to top |
|
|
CICS Guy
Senior Member
Joined: 18 Jul 2007 Posts: 2146 Location: At my coffee table
|
|
|
|
k_rajen1 wrote: |
PGM=AFCP2016,PARM='cicsregion-name,CECI,LO PROG(prog-name)' |
What does the 'LO' stand for? |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
it depends if You add or take away one O |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
Quote: |
Could you please elaborate the meaning of"What does one that works look like. . .?" |
Hopefully, some other process(es) execute PGM=AFCP2016 with no error.
How is the PARM for one of these defined? |
|
Back to top |
|
|
k_rajen1
New User
Joined: 03 Jun 2009 Posts: 13 Location: Hyderabd
|
|
|
|
CICS GUY,
LO stand for LOAD
All,
My requirement is to load a program which is not executed at all in online. My understanding for CEMT S PROGRAM(program name) will newc already existing component in memory. Could you please confirm whether it also loads the new components from PDS to CICS memory? |
|
Back to top |
|
|
CICS Guy
Senior Member
Joined: 18 Jul 2007 Posts: 2146 Location: At my coffee table
|
|
|
|
Doubting that the AFCP program can do what you are trying....
How about just the L for load?
Why are you trying to load a program into CICS?
How about "PGM=AFCP2016,PARM='cicsregion-name,(tranid for prog-name)"? |
|
Back to top |
|
|
Bill O'Boyle
CICS Moderator
Joined: 14 Jan 2008 Posts: 2501 Location: Atlanta, Georgia, USA
|
|
|
|
The example parm supplied used PHA (Phasein) instead of NEWC. PHA will bring in the new version as soon as a RESCOUNT of ZERO is found by CICS. Whereas, NEWC will issue an error if the RESCOUNT is non-ZERO.
Does the target region use PPT Autoinstall or is there a pre-defined RDO/PPT entry already defined?
Under PPT Autoinstall, the CEMT command will only work if the PPT entry has already been built. Otherwise, it will raise an error.
But PPT Autoinstall will build the entry upon first usage/access of the target program by an application program in the target region. Pre-defined RDO/PPT entries are self explanatory.
I'm still not grasping what you're trying to accomplish?
By chance, is this a residual version of a program which had been loaded by a previous XPEDITER session and the programmer went home? If this is the case, then you must RELEASE the current version(s) and LOAD HOLD the new version.
Just a SWAG....
Bill |
|
Back to top |
|
|
k_rajen1
New User
Joined: 03 Jun 2009 Posts: 13 Location: Hyderabd
|
|
|
|
I don't have particular tran id for each program, that is the reason i want to use it through batch.
Bill,
Could you please tell me whether CEMT S PRog(prog-name) PHA will load new programs from PDS to CICS memory |
|
Back to top |
|
|
Bill O'Boyle
CICS Moderator
Joined: 14 Jan 2008 Posts: 2501 Location: Atlanta, Georgia, USA
|
|
|
|
Please re-read my prevoious post, regarding PPT Autoinstall or RDO/PPT explicitly defined entries.
Do you need the program to be loaded permanantly into memory?
If this is the case, then you need to ask your Tech Support folks to define an explicit PPT entry to RDO for this program, specifying Resident = Yes. 99.9% (maybe 100%) of Autoinstall PPT templates don't specifying Resident = Yes.
When a program issues a LOAD PROGRAM API (and the PPT entry specifies Resident = Yes), it is not loading the program into memory, but merely establishing addressability.
If this is the case, then there's no reason to LOAD the program into memory as CICS will load it for you and it will not be paged out, with RESIDENT = YES.
Bill |
|
Back to top |
|
|
William Thompson
Global Moderator
Joined: 18 Nov 2006 Posts: 3156 Location: Tucson AZ
|
|
|
|
k_rajen1 wrote: |
I don't have particular tran id for each program, that is the reason i want to use it through batch. |
Please define what you mean more clearly... |
|
Back to top |
|
|
Earl Haigh
Active User
Joined: 25 Jul 2006 Posts: 475
|
|
|
|
k_rajen1.
All this discussion perplexes me. Why don't you just ask your Technical support group to help you |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
What are you really trying to accomplish (the business or technical reason)?
You have spent a lot of time explaining the problem encountered with this approach but you have not explained what this is needed for.
Quote: |
Why don't you just ask your Technical support group to help you |
Hopefully, this is not just an attempt to run unapproved/undocummented code in the cics region. . . |
|
Back to top |
|
|
|