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

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


IBM Mainframe Forums -> TSO/ISPF
Post new topic   Reply to topic
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
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: 2455
Location: Hampshire, UK

PostPosted: Fri Sep 14, 2012 1:24 pm
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: 2481
Location: Netherlands, Amstelveen

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

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
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: 2481
Location: Netherlands, Amstelveen

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

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: 2455
Location: Hampshire, UK

PostPosted: Fri Sep 14, 2012 4:11 pm
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

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Fri Sep 14, 2012 4:15 pm
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: 2455
Location: Hampshire, UK

PostPosted: Fri Sep 14, 2012 4:17 pm
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> TSO/ISPF

 


Similar Topics
Topic Forum Replies
No new posts FTP VB File from Mainframe retaining ... JCL & VSAM 4
No new posts Extract the file name from another fi... DFSORT/ICETOOL 6
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts Error to read log with rexx CLIST & REXX 11
No new posts Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
Search our Forums:

Back to Top