Rexx - ISPF-variables

70 views
Skip to first unread message

Lars Höglund

unread,
Apr 9, 2024, 6:01:26 AM4/9/24
to ispf-...@nd.edu

Hi

 

Pros and cons about coding ISPF-commands with “rexx variables” or “ISPF variables”?

 

address "ISPEXEC" "LMDINIT LISTID(LIST) LEVEL(XYZ)”

 

use Rexx-var

address "ISPEXEC" "LMDLIST LISTID("list")….”

 

or use ISPF-var

address "ISPEXEC" "LMDLIST LISTID(&LIST)….”

 

//Lasse

Marvin Knight

unread,
Apr 9, 2024, 7:28:33 AM4/9/24
to ispf-...@nd.edu

From an efficiency perspective I would use the Rexx-var.   ISPF will scan the command string looking for an ampersand and then do checking for things such as DBCS, 2 ampersands in a row, etc.  Eventually the variable gets substituted.  Not a big amount of overhead,  but more than if REXX just substituted it to begin with.

Marvin Knight

 

From: ispf-...@nd.edu <ispf-...@nd.edu> On Behalf Of Lars Höglund
Sent: Tuesday, April 9, 2024 5:01 AM
To: ispf-...@nd.edu
Subject: [EXTERNAL] [ISPF-L] Rexx - ISPF-variables

 

Hi Pros and cons about coding ISPF-commands with “rexx variables” or “ISPF variables”? address "ISPEXEC" "LMDINIT LISTID(LIST) LEVEL(XYZ)” use Rexx-var address "ISPEXEC" "LMDLIST LISTID("list")…. ”

ZjQcmQRYFpfptBannerStart

This Message Is From an External Sender

This message came from outside your organization.

    Report Suspicious    ‌

ZjQcmQRYFpfptBannerEnd

--
You received this message because you are subscribed to the Google Groups "ISPF discussion list" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ispf-l-list...@nd.edu.
To view this discussion on the web visit https://groups.google.com/a/nd.edu/d/msgid/ispf-l-list/GVZP280MB0425D05C1794B021EA9C51A38D072%40GVZP280MB0425.SWEP280.PROD.OUTLOOK.COM.

Lars Höglund

unread,
Apr 9, 2024, 8:09:56 AM4/9/24
to ispf-...@nd.edu
Reply all
Reply to author
Forward
0 new messages