Search the web
Sign In
New User? Sign Up
rexxlist · General REXX Discussion List
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Message search is now enhanced, find messages faster. Take it for a spin.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
VDEFINE in REXX   Message List  
Reply | Forward Message #6422 of 16003 |
Friendly people:

I have been RTFM and trying various approaches, but have been getting
nowhere. I'm not the greatest REXX expert, but I've written a number of REXX
routines, so I've got some familiarity with REXX, but I've never tried
compiling them before. Now, for performance reasons, I'm trying to compile a
REXX that works fine when interpreted, but goes zooey when compiled and
executed.

Where I'm at now, I can get the routine to display an ISPF panel, but it
apparently is unable to recognize the ZCMD that comes back from the panel in
the REXX, but it's there when it performs the SETMSG service.

Here's a snippet of the code:

select
when ( ZCMD = '0' ) then
call SET_USER_PROFILE
<snip>
otherwise
"SETMSG MSG(MDFS001A)"
end /* End Select */

E.g. I enter '0', and it tells me 'Test type ( 0 ) invalid'.
(NB: MDFS001A = MDFS001A 'Test type ( &ZCMD ) invalid')

OK, so I'm told I need to do a VDEFINE to get a copy of the ZCMD variable.
VDEFINE only works over the CALL ISPLINK interface, not the ISPEXEC
interface. OK. But none of the following calls work:

call isplink 'VDEFINE ','ZCMD', ZCMD, 'CHAR',8;
x = isplink('VDEFINE ','ZCMD', ZCMD, 'CHAR',8);

Both (using only one per version, of course :-) generate the following
dialog box:

ISPS101

Service name missing
No dialog service request name found.

Any advice would be appreciated. TIA



Wed Mar 13, 2002 9:46 pm

CHARLES.LESTER@...
Send Email Send Email

Forward
Message #6422 of 16003 |
Expand Messages Author Sort by Date

Friendly people: I have been RTFM and trying various approaches, but have been getting nowhere. I'm not the greatest REXX expert, but I've written a number of...
Lester, Charles (LNG)
CHARLES.LESTER@...
Send Email
Mar 15, 2002
3:20 am

Hi, I had that problem, when I first started using compiled REXX. I "solved" that problem using an uninterpreted REXX with one line : "call compiled_rexx"....
Joao Bentes de Jesus
joao.bentes@...
Send Email
Mar 15, 2002
4:15 am

Joao: Thanks for the information. I'm trying it your way, but now I'm running into other problems :-( I'll keep everyone informed about the result. Thanks...
Lester, Charles (LNG)
CHARLES.LESTER@...
Send Email
Mar 15, 2002
4:27 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help