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

Load error: LENGTH OF ENTRY TYPE TOO LONG


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

New User


Joined: 03 Jun 2009
Posts: 13
Location: Hyderabd

PostPosted: Mon Jan 25, 2010 9:39 pm
Reply with quote

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

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Mon Jan 25, 2010 9:52 pm
Reply with quote

wat about looking at the docs of the AFCP2016 program ??
Back to top
View user's profile Send private message
k_rajen1

New User


Joined: 03 Jun 2009
Posts: 13
Location: Hyderabd

PostPosted: Mon Jan 25, 2010 9:59 pm
Reply with quote

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

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Mon Jan 25, 2010 10:06 pm
Reply with quote

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

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Mon Jan 25, 2010 10:14 pm
Reply with quote

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

New User


Joined: 03 Jun 2009
Posts: 13
Location: Hyderabd

PostPosted: Mon Jan 25, 2010 10:26 pm
Reply with quote

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

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Mon Jan 25, 2010 10:30 pm
Reply with quote

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

New User


Joined: 03 Jun 2009
Posts: 13
Location: Hyderabd

PostPosted: Mon Jan 25, 2010 10:39 pm
Reply with quote

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

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Mon Jan 25, 2010 10:43 pm
Reply with quote

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 icon_biggrin.gif

also look at the cics manuals for the docs of the transaction You want to run
Back to top
View user's profile Send private message
Bill O'Boyle

CICS Moderator


Joined: 14 Jan 2008
Posts: 2501
Location: Atlanta, Georgia, USA

PostPosted: Mon Jan 25, 2010 10:44 pm
Reply with quote

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

Senior Member


Joined: 18 Jul 2007
Posts: 2146
Location: At my coffee table

PostPosted: Mon Jan 25, 2010 10:49 pm
Reply with quote

k_rajen1 wrote:
PGM=AFCP2016,PARM='cicsregion-name,CECI,LO PROG(prog-name)'
What does the 'LO' stand for?
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Mon Jan 25, 2010 10:50 pm
Reply with quote

it depends if You add or take away one O icon_biggrin.gif
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Mon Jan 25, 2010 10:52 pm
Reply with quote

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

New User


Joined: 03 Jun 2009
Posts: 13
Location: Hyderabd

PostPosted: Mon Jan 25, 2010 11:01 pm
Reply with quote

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

Senior Member


Joined: 18 Jul 2007
Posts: 2146
Location: At my coffee table

PostPosted: Mon Jan 25, 2010 11:21 pm
Reply with quote

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

CICS Moderator


Joined: 14 Jan 2008
Posts: 2501
Location: Atlanta, Georgia, USA

PostPosted: Mon Jan 25, 2010 11:23 pm
Reply with quote

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

New User


Joined: 03 Jun 2009
Posts: 13
Location: Hyderabd

PostPosted: Mon Jan 25, 2010 11:26 pm
Reply with quote

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

CICS Moderator


Joined: 14 Jan 2008
Posts: 2501
Location: Atlanta, Georgia, USA

PostPosted: Mon Jan 25, 2010 11:40 pm
Reply with quote

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

Global Moderator


Joined: 18 Nov 2006
Posts: 3156
Location: Tucson AZ

PostPosted: Mon Jan 25, 2010 11:48 pm
Reply with quote

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

Active User


Joined: 25 Jul 2006
Posts: 475

PostPosted: Wed Jan 27, 2010 3:07 am
Reply with quote

k_rajen1.


All this discussion perplexes me. Why don't you just ask your Technical support group to help you icon_question.gif icon_question.gif
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Wed Jan 27, 2010 3:28 am
Reply with quote

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
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

 


Similar Topics
Topic Forum Replies
No new posts Store the data for fixed length COBOL Programming 1
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts PARSE Syntax for not fix length word ... JCL & VSAM 7
No new posts Error to read log with rexx CLIST & REXX 11
No new posts Load new table with Old unload - DB2 DB2 6
Search our Forums:

Back to Top