Change a variable in a member, then execute through CLIST?



IBM's Command List programming language & Restructured Extended Executor

Re: Change a variable in a member, then execute through CLIS

Postby Pedro » Sat Oct 19, 2013 8:38 pm

I suggest passing the id as a parameter when the exec is called:

TSO %myexec  ID(pedro)

and in the exec, use PARSE to assign the parameter:
PARSE UPPER ARG  'ID(' id ')' 
Pedro Vera
User avatar
Pedro
 
Posts: 686
Joined: Thu Jul 31, 2008 9:59 pm
Location: Silicon Valley
Has thanked: 0 time
Been thanked: 53 times

Previous

Return to CLIST & REXX

 


  • Related topics
    Replies
    Views
    Last post