Running cobol from rexx program



IBM's Command List programming language & Restructured Extended Executor

Running cobol from rexx program

Postby fazillatheef » Mon Jul 14, 2008 10:54 am

How can I run a cobol program from a rexx program? the cobol program is compiled and the load module is available to me in a data set named CACD213.COBOL.LOAD(PROG1).

Thanks in advance

Fazil Abdul Lathif
fazillatheef
 
Posts: 18
Joined: Mon Feb 25, 2008 12:50 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Running cobol from rexx program

 

Re: Running cobol from rexx program

Postby dick scherrer » Mon Jul 14, 2008 12:14 pm

Hello,

This should work:
Address TSO "CALL 'CACD213.COBOL.LOAD(PROG1)' " 
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6304
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 91 times

Re: Running cobol from rexx program

Postby fazillatheef » Mon Jul 14, 2008 3:10 pm

@dick scherrer
thank you very much
fazillatheef
 
Posts: 18
Joined: Mon Feb 25, 2008 12:50 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Running cobol from rexx program

Postby dick scherrer » Mon Jul 14, 2008 11:07 pm

You're welcome :)

d
User avatar
dick scherrer
Global moderator
 
Posts: 6304
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 91 times


Return to CLIST & REXX

 


  • Related topics
    Replies
    Views
    Last post