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

Substitution error Invalid cond. sub. string


IBM Mainframe Forums -> TSO/ISPF
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
aprak00
Warnings : 2

New User


Joined: 09 Aug 2006
Posts: 24

PostPosted: Fri Dec 28, 2007 10:48 am
Reply with quote

Any idea about the following error?

Code:
                              ISPF Dialog Error                               
Command ===>                                                                   
                                                                   More:     +
******************************************************************************
* ISPF112                                                                    *
*                                                                            *
* Substitution error                                                         *
* Invalid cond. sub. string, DISTRPT record-214                              *
*                                                                            *
*                                                                            *
*                                                                            *
*                                                                            *
*                                                                            *
*                                                                            *
* File tailoring input line:                                                 *
* IF EFF2 < 80 THEN EFFYR = EFF2 + 200;                                      *
*                                                                            *
* Enter HELP command for further information regarding this error.           *
* Press ENTER key to terminate the dialog.                                   *
*                                                                            *
*                                                                            *
*                                                                            *
 F1=PHLP   F2=BKUP   F3=END    F4=FHLP   F5=RFIND  F6=HELP   F7=UP     F8=DOWN
 F9=SWAP  F10=LEFT  F11=RIGHT F12=QUIT                                         
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Fri Dec 28, 2007 12:54 pm
Reply with quote

what about looking at the manual YOURSELF ?

Quote:
ISPF112 Substitution error - Invalid cond. sub. string, aaaaaaaa
record-bbbbbbbb.

Explanation: The conditional substitution string in record bbbbbbbb of member aaaaaaaa has incorrect syntax.

Programmer Response: See ISPF Dialog Developer's Guide and Reference for help with the syntax. Correct the syntax of the conditional substitution string.
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2358
Location: Israel

PostPosted: Fri Dec 28, 2007 1:49 pm
Reply with quote

I think this is one of the most clearer messages. What is it that you didn't understand?

O.
Back to top
View user's profile Send private message
aprak00
Warnings : 2

New User


Joined: 09 Aug 2006
Posts: 24

PostPosted: Fri Dec 28, 2007 4:39 pm
Reply with quote

I saw that message but I dont understand what is the substitutional error in the statement

Code:
"IF EFF2 < 80 THEN EFFYR = EFF2 + 200;"
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Fri Dec 28, 2007 4:46 pm
Reply with quote

If You want US to do Your debugging post the skel You are trying to imbed

the line posted looks like a line of a rexx script

doest the line content hint anything to You ??
Back to top
View user's profile Send private message
sureshbabuamara

New User


Joined: 20 Sep 2007
Posts: 16
Location: India

PostPosted: Wed Mar 05, 2008 7:26 pm
Reply with quote

I found the same error when I use a SKEL with
//SUBNEXT IF RC < 04 THEN ......

I over come this error by changing the above line with
//SUBNEXT IF (RC GT 04) THEN

hope this will help for others how are browsing like me for the solution for this error.
Back to top
View user's profile Send private message
daveporcelan

Active Member


Joined: 01 Dec 2006
Posts: 792
Location: Pennsylvania

PostPosted: Thu Mar 06, 2008 2:57 am
Reply with quote

from my experience, greater than and less than signs are not allowed in skeleton jcl.
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2358
Location: Israel

PostPosted: Thu Mar 06, 2008 12:01 pm
Reply with quote

You can use any character in an ISPF skeleton. All you have to do, is read carefully the fine manual.

O.
Back to top
View user's profile Send private message
sureshbabuamara

New User


Joined: 20 Sep 2007
Posts: 16
Location: India

PostPosted: Mon Mar 10, 2008 9:02 pm
Reply with quote

Hi,

Kindly refer the below thread for solution

http://ibmmainframes.com/viewtopic.php?p=122847#122847
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 -> TSO/ISPF

 


Similar Topics
Topic Forum Replies
No new posts Replace each space in cobol string wi... COBOL Programming 3
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 INCLUDE OMIT COND for Multiple values... DFSORT/ICETOOL 5
No new posts Error when install DB2 DB2 2
Search our Forums:

Back to Top