Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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: 10391
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: 7314

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 Can we create REXX ouput in an Excel ... upendrasri CLIST & REXX 3 Wed Jan 17, 2018 8:19 pm
No new posts Need to obtain VTOC information via R... djeffbland CLIST & REXX 10 Thu Jan 11, 2018 4:13 am
No new posts REXX contest sergeyken CLIST & REXX 2 Tue Jan 09, 2018 1:55 am
No new posts KSDS and Index file in cobol deepak14450 COBOL Programming 9 Fri Dec 22, 2017 9:36 am
No new posts Looping REXX - unable to interrupt RAVISANKAR07 CLIST & REXX 3 Wed Dec 06, 2017 1:08 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us