Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ISREDIT and string / variable concatenation

Status
Not open for further replies.

PoseFant

IS-IT--Management
Jun 26, 2003
2
NO
I'm working on a small job that add some lines to some datasets, inside the macro I'm trying to concatenate the string to add with a variable, but I get an error saying I have to many parameters for ISREDIT.

The correct string should be: //SIEBFPT JOB, 'L001',
The string displayed with SAY is as the above.

My code:

"ISREDIT LINE_BEFORE &CSR1 = "!!"//SIEB7FPT JOB,"!!" '&MEMBER',"

I've also tried a similar variant:

"ISREDIT LINE_BEFORE &CRS1 = //SIEB7FPT JOB, '&MEMBER',"

Any ideas ?

---

Thank you in advance

/Filip
 
I found the solution:

L1 = """//SIEB7FPT JOB, '&MEMBER',"""
...
"ISREDIT LINE_BEFORE &CSR1 = &L1"

---

/Filip
 
Is this CLIST or REXX ?

In REXX, Doug Nadel always advises me to compose the string first:
Code:
text = "//SIEB7FPT JOB "member,"
then insert it where necessary:
Code:
address ISREDIT "LINE_BEFORE" csr1 "= (text)"


Frank Clarke
Tampa Area REXX Programmers' Alliance
REXX Language Assn Listmaster
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top