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
 

 

Parameter 'NAME' exceeds the allowable length.

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF
View previous topic :: :: View next topic  
Author Message
sushanth bobby

Senior Member


Joined: 29 Jul 2008
Posts: 1013
Location: India

PostPosted: Fri Oct 30, 2009 1:45 pm    Post subject: Parameter 'NAME' exceeds the allowable length.
Reply with quote

Hi,

Following is the program, Format
Code:
TMPDSN = "MYID.AAIPPLAN.AAI1.BIND"                       
"ISPEXEC LIBDEF ISPSLIB DATASET ID('"myid.FT.SKEL"')"     
ADDRESS TSO "ALLOC F(ISPFILE) DSNA('"TMPDSN"') MOD REUSE",     
"CYL SPACE(10,10) RELEASE LRECL(90) RECFM(F,B) DSORG(PS)"       
ADDRESS ISPEXEC "FTOPEN"                                       
DO SEQ=1 TO LINES.0                                            .
.
.
.
   ADDRESS ISPEXEC "FTINCL BLDPACK"                   
END                                                   
ADDRESS ISPEXEC "FTCLOSE NAME('"TMPDSN"')"             
ADDRESS ISPEXEC "EDIT DATASET ('"TMPDSN"')"           

After executing this, i am getting the following message.
Code:

ISPS108                                                 
                                                       
Invalid length                                         
Parameter 'NAME' exceeds the allowable length.         
                                                       
                                                       
                                                       
                                                       
                                                       
                                                       
Current dialog statement:                               
FTCLOSE NAME('myid.AAIPPLAN.AAI1.BIND')               

But the following dataset myid.AAIPPLAN.AAI1.BIND is getting written.

I refered the manual, it says the following
Quote:
"FTCLOSE NAME (LABLOUT) Write the resulting file-tailoring output to a member named LABLOUT SKELETON."

Manual has said 'member'. So, it cannot be used for a dataset.


Also, i did a trace on the entire program.
Code:
 92 *-*  ADDRESS ISPEXEC "FTINCL BLDPACK"     
     >L>    "FTINCL BLDPACK"                   
     +++ RC(-3) +++     


After each FILE TAILOR statements, i get a -3 return code. What does this mean ?


Thank You,
Sushanth
Back to top
View user's profile Send private message

expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Fri Oct 30, 2009 2:10 pm    Post subject:
Reply with quote

First problem - you are using the syntax to save the output in a PDS but infact are using a PS file.

For a PS file, FTCLOSE will suffice without specifying a member name.

NAME is a member name, not a dataset name, so is limited to a max of 8 chars. How long is the variable you use, the dataset name ???

Suggest you google ISPFTTRC which is really helpful.
Back to top
View user's profile Send private message
sushanth bobby

Senior Member


Joined: 29 Jul 2008
Posts: 1013
Location: India

PostPosted: Fri Oct 30, 2009 2:19 pm    Post subject:
Reply with quote

Corrected it EXPAT. It works fine & good.

I put a TRACE to check for RC. I am still getting -3
Code:
       +++ RC(-3) +++                                       
       *-*  ADDRESS ISPEXEC "FTINCL BLDPACK"                 
       +++ RC(-3) +++                                       
       *-*  ADDRESS ISPEXEC "FTINCL BLDPACK"                 
       +++ RC(-3) +++                                       
       *-*  ADDRESS ISPEXEC "FTINCL BLDPACK"                 
       +++ RC(-3) +++                                       
       *-*  ADDRESS ISPEXEC "FTINCL BLDPACK"                 
       +++ RC(-3) +++                                       
       *-*  ADDRESS ISPEXEC "FTINCL BLDPACK"                 
       +++ RC(-3) +++                                       
    95 *-* ADDRESS ISPEXEC "FTCLOSE"                         
       +++ RC(-3) +++                                       
    96 *-* ADDRESS ISPEXEC "EDIT DATASET ('"TMPDSN"')"       
       +++ RC(-3) +++                                       
READY                                                       
END                                                         


Is this something like an error or warning ?

Thank You Very Much,
Sushanth
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Fri Oct 30, 2009 2:41 pm    Post subject:
Reply with quote

The (-3) indicates a problem.

Suggest you google ISPFTTRC which is really helpful.
Back to top
View user's profile Send private message
superk

Moderator Team Head


Joined: 26 Apr 2004
Posts: 4648
Location: Raleigh, NC, USA

PostPosted: Fri Oct 30, 2009 4:25 pm    Post subject: Reply to: Parameter 'NAME' exceeds the allowable length.
Reply with quote

That

READY
END

at the end of the trace makes it appear to me that this code is running in TSO, not in ISPF, possibly even in a batch job.
Back to top
View user's profile Send private message
sushanth bobby

Senior Member


Joined: 29 Jul 2008
Posts: 1013
Location: India

PostPosted: Fri Oct 30, 2009 4:32 pm    Post subject:
Reply with quote

SuperK,

I ran it in batch. Because of processing is a bit bigger. If i run it in ISPF, i have to keep on pressing ENTER for the next screen. That was taking a long time. Thats why i ran it in batch.

So, is this error due to running it in BATCH ?

Thank You,
Sushanth
Back to top
View user's profile Send private message
superk

Moderator Team Head


Joined: 26 Apr 2004
Posts: 4648
Location: Raleigh, NC, USA

PostPosted: Fri Oct 30, 2009 4:39 pm    Post subject: Reply to: Parameter 'NAME' exceeds the allowable length.
Reply with quote

I can't answer that without knowing your job. The RC-3 error would seem to indicate that ISPF services aren't available. Did you code your job to start ISPF and to include all of the necessary ISPF libraries (your LIBDEF statement makes me think you didn't).

Also, you do know that the ISPF EDIT service doesn't work in batch, right?
Back to top
View user's profile Send private message
sushanth bobby

Senior Member


Joined: 29 Jul 2008
Posts: 1013
Location: India

PostPosted: Fri Oct 30, 2009 4:51 pm    Post subject:
Reply with quote

Kevin,

Quote:
The RC-3 error would seem to indicate that ISPF services aren't available.

I forgot to think about this one. Usually for bigger TRACEs, i do it in batch. This was my first time for ISPF.

Quote:
Did you code your job to start ISPF and to include all of the necessary ISPF libraries

Nope. I didn't.

Quote:
Also, you do know that the ISPF EDIT service doesn't work in batch, right ?

Yes


Thank You for clearing that out Kevin,


Sushanth
Back to top
View user's profile Send private message
Pedro

Senior Member


Joined: 01 Sep 2006
Posts: 2033
Location: Silicon Valley

PostPosted: Fri Oct 30, 2009 7:11 pm    Post subject: Reply to: Parameter 'NAME' exceeds the allowable length.
Reply with quote

Quote:
Also, you do know that the ISPF EDIT service doesn't work in batch, right?

Not entirely true... you can use EDIT with an initial macro. And the macro needs an END statement.
Back to top
View user's profile Send private message
sushanth bobby

Senior Member


Joined: 29 Jul 2008
Posts: 1013
Location: India

PostPosted: Fri Oct 30, 2009 7:46 pm    Post subject:
Reply with quote

hmm Thank You Pedro.
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 -> TSO/ISPF All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Count the length of the record & ... sreekusr DFSORT/ICETOOL 4 Thu Mar 23, 2017 7:52 pm
No new posts Writing on to GSAM variable length rohanthengal JCL & VSAM 6 Fri Mar 03, 2017 7:46 pm
No new posts Can DFSPARM override SORTKEYS paramet... ashek15 DB2 2 Tue Jan 31, 2017 11:36 pm
No new posts DDNAME parameter mistah kurtz JCL & VSAM 6 Mon Dec 19, 2016 4:41 pm
No new posts Execessive parameter issue Sumeendar JCL & VSAM 5 Mon Dec 19, 2016 4:35 pm


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