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
 

 

ISPF FILE Tailoring error for line containg '|' (pipe)

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

New User


Joined: 30 Jul 2012
Posts: 18
Location: India

PostPosted: Fri Sep 14, 2012 12:27 pm    Post subject: ISPF FILE Tailoring error for line containg '|' (pipe)
Reply with quote

Hi Guys,

I got stuck while working on a tool. I got one ISPF skeleton that converts all '|' (without quotes) to ",". But while executing the Rexx code, its giving an error for the below line.

INREC FINDREP=(IN=C‘|’,OUT=C‘”,”’)

Now, If I remove '|' (only), its working fine i.e. my o/p JCL is getting created. It seems that skeleton is not taking | symbol.

Can you please help me on this. What needs to be done if I have to include the above line with '|' in my skel jcl.

Thanks! icon_smile.gif
Back to top
View user's profile Send private message

Nic Clouston

Global Moderator


Joined: 10 May 2007
Posts: 1731
Location: UK

PostPosted: Fri Sep 14, 2012 1:24 pm    Post subject:
Reply with quote

What does the trace show?
Back to top
View user's profile Send private message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2425
Location: Netherlands, Amstelveen

PostPosted: Fri Sep 14, 2012 1:41 pm    Post subject:
Reply with quote

http://publib.boulder.ibm.com/infocenter/zos/v1r12/index.jsp?topic=%2Fcom.ibm.zos.r12.f54dg00%2Fchap9b.htm
Back to top
View user's profile Send private message
pankaj1002

New User


Joined: 30 Jul 2012
Posts: 18
Location: India

PostPosted: Fri Sep 14, 2012 3:11 pm    Post subject:
Reply with quote

Nic Clouston wrote:
What does the trace show?


Its not showing anything in Trace but throwing a error window saying:

ISPF112
Substitution error
Invalid cond. sub. string.

PeterHolland wrote:
http://publib.boulder.ibm.com/infocenter/zos/v1r12/index.jsp?topic=%2Fcom.ibm.zos.r12.f54dg00%2Fchap9b.htm


@Peter : I saw the )DEFAULT cntrl stmnt but I nam not able to deploy it in my code. Could you please help me provide a sample code to show how to use it? I am new in this area. icon_sad.gif
Back to top
View user's profile Send private message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2425
Location: Netherlands, Amstelveen

PostPosted: Fri Sep 14, 2012 3:32 pm    Post subject:
Reply with quote

http://publib.boulder.ibm.com/infocenter/zos/v1r12/index.jsp?topic=%2Fcom.ibm.zos.r12.f54dg00%2Fskelbif.htm
Back to top
View user's profile Send private message
Nic Clouston

Global Moderator


Joined: 10 May 2007
Posts: 1731
Location: UK

PostPosted: Fri Sep 14, 2012 4:11 pm    Post subject:
Reply with quote

I doubt very much that it threw an error window. It may well have displayed an error panel but nothing on the mainframe throws anything. In the old days I suppose you could sit on top and throw tape protect rings or paper aeroplanes or some-such but the machine itself, or its software, does not throw anything.

A trace would have shown what was happening up until the error so would have provided some information that may, or may not, have been relevant.
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10219
Location: italy

PostPosted: Fri Sep 14, 2012 4:15 pm    Post subject: Reply to: ISPF FILE Tailoring error for line containg '|' (p
Reply with quote

well Nic,
it looks like You will have to live with the effects of java and c++ misculture/ignorance icon_cool.gif
Back to top
View user's profile Send private message
Nic Clouston

Global Moderator


Joined: 10 May 2007
Posts: 1731
Location: UK

PostPosted: Fri Sep 14, 2012 4:17 pm    Post subject:
Reply with quote

If they are being taught 'throw' in a mainframe context at whatever 'training' institute they attended they should be feeding back to their ex trainers that they are teaching wrongly. But then we couldn't be 'grumpy old men'!
Back to top
View user's profile Send private message
Stefan

Active User


Joined: 12 Jan 2006
Posts: 110
Location: Germany

PostPosted: Fri Sep 14, 2012 5:22 pm    Post subject:
Reply with quote

pankaj1002 wrote:
Could you please help me provide a sample code to show how to use it?

Use )DEFAULT abcdefg at the very beginning of your file tailoring skeleton.
The seven characters represented by abcdefg override the use of the ), &, ?, !, <, |, and > characters, respectively. Exactly seven characters must be specified. These characters have special meanings in data records.
So, for example to allow the | sign to be used, specify )DEFAULT )&?!<#>.
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 ISPF - How to come out of ISPF Panel parasmalik20 TSO/ISPF 5 Tue Feb 21, 2017 7:44 pm
No new posts DB2 SQL Error: SQLCODE=-440, SQLSTATE... kishpra DB2 1 Sat Feb 18, 2017 2:31 am
No new posts Formating the Input file sreekusr DFSORT/ICETOOL 3 Fri Feb 17, 2017 10:40 pm
No new posts Sort two file having same field, one ... himanshu malik DFSORT/ICETOOL 7 Thu Feb 02, 2017 10:09 am
No new posts Design of ISPF panel prino TSO/ISPF 2 Wed Jan 25, 2017 10:31 pm


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