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
 

 

string concatination in rexx || sigh not working

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CLIST & REXX
View previous topic :: :: View next topic  
Author Message
Vkp321

New User


Joined: 05 Jan 2009
Posts: 35
Location: Pune

PostPosted: Fri Jul 08, 2011 5:37 pm    Post subject: string concatination in rexx || sigh not working
Reply with quote

Hi ,

I used || sign for concatination string , but it is throwing error
"Invalid character in program"

I tried following code

A = 'ABC' ¦¦ 'XYZ'
SAY A
Back to top
View user's profile Send private message

expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Fri Jul 08, 2011 5:38 pm    Post subject:
Reply with quote

I've worked at sites where the concat char was !
Back to top
View user's profile Send private message
PeterHolland

Global Moderator


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

PostPosted: Fri Jul 08, 2011 5:40 pm    Post subject:
Reply with quote

Try ||
Back to top
View user's profile Send private message
Vkp321

New User


Joined: 05 Jan 2009
Posts: 35
Location: Pune

PostPosted: Fri Jul 08, 2011 5:43 pm    Post subject:
Reply with quote

! is not working
Back to top
View user's profile Send private message
PeterHolland

Global Moderator


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

PostPosted: Fri Jul 08, 2011 5:44 pm    Post subject:
Reply with quote

Try ||
Back to top
View user's profile Send private message
Vkp321

New User


Joined: 05 Jan 2009
Posts: 35
Location: Pune

PostPosted: Fri Jul 08, 2011 5:46 pm    Post subject:
Reply with quote

|| is working , This is pipe sign or what
Back to top
View user's profile Send private message
PeterHolland

Global Moderator


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

PostPosted: Fri Jul 08, 2011 5:49 pm    Post subject:
Reply with quote

Probably, the only pipe i know is the one im smoking. icon_rolleyes.gif
Back to top
View user's profile Send private message
superk

Moderator Team Head


Joined: 26 Apr 2004
Posts: 4648
Location: Raleigh, NC, USA

PostPosted: Fri Jul 08, 2011 5:52 pm    Post subject: Reply to: string concatination in rexx || sigh not working
Reply with quote

Logical "or".
Back to top
View user's profile Send private message
Vkp321

New User


Joined: 05 Jan 2009
Posts: 35
Location: Pune

PostPosted: Fri Jul 08, 2011 5:53 pm    Post subject:
Reply with quote

in mainframe screen it is appearing as ¦¦ (shft + ¦)... but in text pad it is appearing as | , strange... but it worked..

Thanks
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Fri Jul 08, 2011 7:41 pm    Post subject:
Reply with quote

Hello,

Quote:
but in text pad it is appearing as | , strange...
Not strange. Just different hex values on different systems. You need to make sure you compare mainframe values with other mainframe values, not pc values.
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 -> CLIST & REXX All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Replacing same string with different ... vickey_dw DFSORT/ICETOOL 6 Wed Feb 22, 2017 10:44 pm
No new posts SQL query not working in Cobol program. CuriousMainframer COBOL Programming 10 Wed Feb 22, 2017 5:56 pm
No new posts REXX compiled via RXTCOMP sergeyken CLIST & REXX 7 Tue Feb 07, 2017 9:41 pm
No new posts Count Trailing Spaces in variable str... Virendra Shambharkar SYNCSORT 10 Thu Feb 02, 2017 12:23 pm
This topic is locked: you cannot edit posts or make replies. Calling REXX code from ISPF panel sanchita dey TSO/ISPF 4 Mon Jan 02, 2017 5:13 pm


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