Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Run a COBOL program from REXX EXEC

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
View previous topic :: :: View next topic  
Author Message
milochanzy

New User


Joined: 28 Aug 2006
Posts: 7
Location: India

PostPosted: Thu Oct 04, 2007 8:43 pm    Post subject: Run a COBOL program from REXX EXEC
Reply with quote

Hi,

i dont know how stupid it may sound to all the experts in REXX but if some one could please let me know how can i run a COBOL program whose load is in my private load library thru REXX.

Thanks and Regards,
Milo.
Back to top
View user's profile Send private message

superk

Moderator Team Head


Joined: 26 Apr 2004
Posts: 4649
Location: Raleigh, NC, USA

PostPosted: Thu Oct 04, 2007 9:42 pm    Post subject: Reply to: Run a COBOL program from REXX EXEC
Reply with quote

Native REXX:

2.5.9 Host Command Environments for Linking to and Attaching Programs from the z/OS V1R7.0 TSO/E REXX Reference manual. You can use ADDRESS LINKMVS or ADDRESS LINKPGM to call a program using the rules as indicated.

TSO/E:

1.10 CALL Command from the z/OS V1R7.0 TSO/E Command Reference manual. You can use the TSO CALL command to load and execute a program in executable form.

ISPF:

2.56 SELECT - Select a Panel or Function from the z/OS V1R7.0 ISPF Services Guide.
Back to top
View user's profile Send private message
milochanzy

New User


Joined: 28 Aug 2006
Posts: 7
Location: India

PostPosted: Fri Oct 05, 2007 8:57 am    Post subject:
Reply with quote

Hi Kevin,

your pointers areapperciated. the problem is that i am not that well versed with the REXX terminologies. If you could quote some REXX code with example libraries and program it would be a great help.

Thanks and Regards,
Milo.
Back to top
View user's profile Send private message
murmohk1

Senior Member


Joined: 29 Jun 2006
Posts: 1439
Location: Bangalore,India

PostPosted: Fri Oct 05, 2007 10:13 am    Post subject:
Reply with quote

Milo,

Quote:
If you could quote some REXX code with example libraries and program it would be a great help.

I doubt you have gone thru the links posted by SuperK porperly.

For call command, at the end of the page, you have link for call command examples.
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2360
Location: Israel

PostPosted: Fri Oct 05, 2007 3:03 pm    Post subject:
Reply with quote

Actually, for each of the above methods there are examples in the manuals.

O.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts REXX to get the all datasets name parasmalik20 CLIST & REXX 5 Tue Jul 18, 2017 9:10 pm
No new posts XML Parse for COBOL 5.2 Bhanu Praveen COBOL Programming 1 Sat Jul 08, 2017 8:58 pm
No new posts How system know which REXX to excute? jackzhang75 CLIST & REXX 14 Thu Jul 06, 2017 1:09 am
No new posts Writing a file using online program grvtomar PL/I & Assembler 3 Fri Jun 30, 2017 1:06 pm
No new posts REXX - Dynamic file Creation d_sarlie CLIST & REXX 7 Tue Jun 27, 2017 7:30 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us