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
 

 

How to submit cobol pgm from rexx

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CLIST & REXX
View previous topic :: :: View next topic  
Author Message
nkothako

Active User


Joined: 26 Nov 2008
Posts: 125
Location: chennai

PostPosted: Tue Nov 15, 2011 12:54 am    Post subject: How to submit cobol pgm from rexx
Reply with quote

If cobol pgm takes input mainframe file and writes output into mainframe file then how to write a code in rexx. pls provide example if you have
Back to top
View user's profile Send private message

enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10210
Location: italy

PostPosted: Tue Nov 15, 2011 1:02 am    Post subject: Reply to: How to submit cobol pgm from rexx
Reply with quote

OK for the language barrier ...
but

Quote:

How to submit cobol pgm from rexx

If cobol pgm takes input mainframe file and writes output into mainframe file then how to write a code in rexx. pls provide example if you have


what in heaven does that gibberish mean ?

those words might make sense to You, not to those willing to help
if You want good replies learn to post good questions
-- at least try to post meaningful sentences
Back to top
View user's profile Send private message
Bill Woodger

DFSORT Moderator


Joined: 09 Mar 2011
Posts: 7251

PostPosted: Tue Nov 15, 2011 1:02 am    Post subject: Reply to: How to submit cobol pgm from rexx
Reply with quote

Are you asking how to read one dataset and write another, in rexx, in the same sort of way Cobol does? If not, can you make it a bit clearer, please?
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Tue Nov 15, 2011 1:03 am    Post subject:
Reply with quote

Hello,

Suggest that you compile/link the cobol code and then submit the JCL needed to run this program.

I see no need for rexx. . . icon_confused.gif
Back to top
View user's profile Send private message
Ronald Burr

Active User


Joined: 22 Oct 2009
Posts: 293
Location: U.S.A.

PostPosted: Tue Nov 15, 2011 1:12 am    Post subject:
Reply with quote

If your requirement is to execute the COBOL program from a REXX EXEC running under TSO, then

1) allocate the required input and output files - assigning them to the ddnames expected by the COBOL program, then

2) execute the COBOL program - e.g.

ADDRESS TSO
"CALL 'your.load.library(pgmname)' "
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 -> CLIST & REXX All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Executing OO COBOL program invoking J... Virendra Shambharkar COBOL Programming 2 Tue Jan 10, 2017 6:37 pm
No new posts OO COBOL compile error Virendra Shambharkar COBOL Programming 3 Tue Jan 10, 2017 6:05 pm
No new posts Need Suggestion on COBOL program vickey_dw COBOL Programming 5 Thu Jan 05, 2017 10:55 pm
This topic is locked: you cannot edit posts or make replies. Calling REXX code from ISPF panel sanchita dey TSO/ISPF 4 Mon Jan 02, 2017 5:13 pm
No new posts REXX DB2: Dynamic allocation of DB2.D... BHAS CLIST & REXX 3 Mon Dec 19, 2016 8:26 pm


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