call rexx from clist



IBM's Command List programming language & Restructured Extended Executor

call rexx from clist

Postby yarnseeker » Tue Aug 01, 2017 10:46 pm

how do i call 1 rexxfrom within another clist. I've tried exec but that didn't seem to work.
yarnseeker
 
Posts: 5
Joined: Fri Nov 12, 2010 11:59 pm
Has thanked: 0 time
Been thanked: 0 time

Re: call rexx from clist

Postby Pedro » Tue Aug 01, 2017 11:34 pm

Are the rexx program and clist program in the same dataset?

show us your EXEC statement.
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

Re: call rexx from clist

Postby Pedro » Tue Aug 01, 2017 11:41 pm

If they are in the same data set, this works:

PROC 0
%HELLOX

Where HELLOX is a simple 'hello world' rexx program.
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

Re: call rexx from clist

Postby yarnseeker » Tue Aug 08, 2017 12:39 am

perfect. thanks!
yarnseeker
 
Posts: 5
Joined: Fri Nov 12, 2010 11:59 pm
Has thanked: 0 time
Been thanked: 0 time


Return to CLIST & REXX

 


  • Related topics
    Replies
    Views
    Last post