Visit SDSUSA site please  

Go Back   mvsHelp Boards > Help Bulletin Board > REXX, CLIST
User Name
Password
-->
FAQ Search Manuals Calendar New Posts Search Today's PostsMark Forums Read

Reply
 
Thread Tools Search this Thread Display Modes
  #11  
Old 07-27-2010, 11:25 AM
Steve Coalbran's Avatar
Steve Coalbran Steve Coalbran is offline
Senior Member
 
Join Date: May 2005
Location: Stockholm, Sweden
Posts: 863
Default

Hi Ken,

I think are on the right track.
I am a confirmed lover of shadow variables after Doug gave me a brief simple explanation once and their veil of mystery disappeared.
The manual is also pretty clear on them nowadays.
However, I have been down this route and verification of fields can be (what they term) a challenge.

I had a play and took your exec and modified it to this...
Code:
/* REXX */ da = '@Green/Blue' Address ISPEXEC "CONTROL ERRORS RETURN" dc = 0 DO WHILE(dc=0) ps = POS("/",da) da = STRIP(da,"T") lda = LENGTH(da) IF(ps>1)THEN tds = " "LEFT(COPIES("G",11),ps-2)"Y"COPIES("B",11) ELSE tds = " "COPIES("R",11) ds = LEFT(tds,lda) "ADDPOP" "DISPLAY PANEL(SHADS)" dc = RC /*check data-changed?*/ dc = C2X(LEFT(da,1)) IF( dc="35" )THEN DO da = OVERLAY("@",da,1) END ELSE NOP "REMPOP" END
(in preparation for adding a *REXX verification section within the panel).

I amended the panel to...
Code:
)ATTR \ AREA(DYNAMIC) SCROLL(OFF) USERMOD(35) G TYPE(CHAR) COLOR(GREEN) B TYPE(CHAR) COLOR(BLUE) Y TYPE(CHAR) COLOR(YELLOW) R TYPE(CHAR) COLOR(RED) HILITE(REVERSE) @ TYPE(DATAIN) COLOR(RED) )BODY WINDOW(72,12) EXPAND(//) %Command%==>_ZCMD/ / \DA,DS \+ )REINIT REFRESH(*) )END

Steve
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off


All times are GMT -4. The time now is 06:58 AM.


Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.