Here is a good place to start.  

https://www.bde-gmbh.de/tipps-tricks/zos-rexx/write-an-assembler-program-that-is-called-by-rexx/


-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf 
Of John Gateley
Sent: Monday, July 30, 2018 4:00 PM
To: [email protected]
Subject: Re: Need help with ISPF Dialogue Manager and VGET

Hi

This is what I have for an assembler program calling REXX, but the REXX can see 
the variables so something similar should work for you.

  CALL  ISPLINK,(VDEFINE,NXXPROG,INVXPROG,CHAR,LXXPROG),VL  
  CALL  ISPLINK,(VPUT,NXXPROG),VL                         
  CALL  ISPLINK,(SELECT,LPREXX,PREXX),VL                  

VDEFINE  DC    CL8'VDEFINE'      
VPUT     DC    CL8'VPUT'         
SELECT   DC    CL8'SELECT'       
NXXPROG  DC    CL10'(INVXPROG)'  
INVXPROG DC    CL8' '            
CHAR     DC    CL8'CHAR '        
LXXPROG  DC    F'10'             
LPREXX   DC    F'13'             
PREXX    DC    C'CMD(INVSHLST)'  

Hope this helps
John

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to