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
 
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: 8642
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: 2446
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: 2446
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: 2446
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: 4650
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
This topic is locked: you cannot edit posts or make replies. how to get Job information from IOF u... rsshanmugam CLIST & REXX 13 Mon Feb 05, 2018 4:22 pm
No new posts attchmvs from rexx subroutine that re... harisukumaran CLIST & REXX 1 Fri Jan 19, 2018 5:29 am
No new posts Can we create REXX ouput in an Excel ... upendrasri CLIST & REXX 3 Wed Jan 17, 2018 8:19 pm
No new posts Need to obtain VTOC information via R... djeffbland CLIST & REXX 10 Thu Jan 11, 2018 4:13 am
No new posts REXX contest sergeyken CLIST & REXX 2 Tue Jan 09, 2018 1:55 am

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