Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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: 10327
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: 10327
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: 684
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 line 52: Name or string > 250 char... Ashishpanpaliya CLIST & REXX 5 Sat Oct 14, 2017 2:29 am
No new posts IEW2456E error when link-editing a C ... Senthilraj JCL & VSAM 0 Fri Oct 13, 2017 3:12 pm
No new posts FTP Skip or ignore error and process ... AJAYREDDY All Other Mainframe Topics 3 Wed Sep 27, 2017 8:12 pm
No new posts Assembler Macro Copybook converted to... Ziquilix PL/I & Assembler 4 Tue Sep 26, 2017 3:07 am
No new posts FUSE - IBM MQ - CICS integration error Kevin Vaz CICS 1 Mon Sep 18, 2017 4:31 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us