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
 

 

Substitution error Invalid cond. sub. string

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF
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    Post subject: Substitution error Invalid cond. sub. string
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10256
Location: italy

PostPosted: Fri Dec 28, 2007 12:54 pm    Post subject: Reply to: Substitution error Invalid cond. sub. string
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: 2360
Location: Israel

PostPosted: Fri Dec 28, 2007 1:49 pm    Post subject:
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    Post subject:
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10256
Location: italy

PostPosted: Fri Dec 28, 2007 4:46 pm    Post subject: Reply to: Substitution error Invalid cond. sub. string
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    Post subject:
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: 662
Location: Pennsylvania

PostPosted: Thu Mar 06, 2008 2:57 am    Post subject: Reply to: Substitution error Invalid cond. sub. string
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: 2360
Location: Israel

PostPosted: Thu Mar 06, 2008 12:01 pm    Post subject:
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    Post subject:
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    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 Fileaid Update Replace with null string descann Compuware & Other Tools 4 Mon May 15, 2017 3:00 pm
No new posts Getting error while opening a variabl... apandey1 COBOL Programming 5 Fri May 05, 2017 12:22 pm
No new posts IDC2902I Error tzeche ABENDS & Debugging 2 Tue Mar 28, 2017 11:39 am
No new posts Need help with below DB2 error ashek15 DB2 3 Sat Mar 18, 2017 5:56 am
No new posts FINDREP Syntax Error seahawk789 DFSORT/ICETOOL 4 Thu Mar 09, 2017 10:11 pm


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