IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

REXX EDIT MACRO "HILITE" command fails


IBM Mainframe Forums -> CLIST & REXX
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
dwijadas

New User


Joined: 20 Sep 2005
Posts: 17

PostPosted: Fri Dec 26, 2008 9:37 am
Reply with quote

Hi,

I am running a REXX script that will open a program in edit mode and issue HILITE command for syntax highlight.

Code:

ISPEXEC EDIT DATASET("PGMNAME") MACRO(HION)


Content of HION is as below.

Code:

/*****REXX*****/               
ADDRESS ISREDIT               
"ISREDIT MACRO"               
"ISREDIT HILITE COBOL        "


There are few IP available for developers to connect,they all run different type of VTAM server.

Some of these IP's (terminal) supports the HILITE command some doesnt.
The terminal supports the HILITE command this macro run fine but those doesnt support gives an error. ( which is expected)

Is there any way I can find out inside my REXX that
"Wheather this termilar support HILITE " - maybe some session related info that will tell me what kind of terminal is it ?

thanks,
Dwijadas
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2358
Location: Israel

PostPosted: Fri Dec 26, 2008 2:54 pm
Reply with quote

The ISPF system variable ZHILITE contains "YES" is Extended Highlight is available.

In addition, the system variable ZTERM contains the current terminal.

O.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CLIST & REXX

 


Similar Topics
Topic Forum Replies
No new posts Compile Several JCL JOB Through one r... CLIST & REXX 4
No new posts RACF - Rebuild SETROPTS command which... All Other Mainframe Topics 3
No new posts HILITE on Browse mode? TSO/ISPF 2
No new posts Running REXX through JOB CLIST & REXX 13
No new posts Error to read log with rexx CLIST & REXX 11
Search our Forums:

Back to Top