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: 1712
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: 2422
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: 2422
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: 1712
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: 10201
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: 1712
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 S922 Error yuvan ABENDS & Debugging 3 Fri Dec 02, 2016 6:58 pm
No new posts Add PD field from 2nd file to PD in 1st Sushant Garje DFSORT/ICETOOL 6 Thu Dec 01, 2016 4:32 pm
No new posts Invoke Webservice Fails with DFHPI100... divated CICS 2 Thu Nov 24, 2016 5:57 pm
No new posts File Aid to File Manager conversion murali3955 IBM Tools 4 Thu Nov 24, 2016 3:41 pm
No new posts How to convert the VBM file to VB or... Sulabh Agrawal JCL & VSAM 4 Fri Nov 18, 2016 1:04 pm


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