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: 10457
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 Linkage editor is part of COBOL, z/OS... ankit.jain COBOL Programming 4 Fri Apr 20, 2018 4:17 pm
This topic is locked: you cannot edit posts or make replies. Difference between EQUAL and EQUAL TO... jithinraghavan COBOL Programming 3 Thu Apr 19, 2018 2:22 am
This topic is locked: you cannot edit posts or make replies. GDG gen check using REXX raghuraman123 CLIST & REXX 6 Wed Apr 18, 2018 9:18 pm
No new posts Call COBOL or PLI with a click from w... vaibhav gs All Other Mainframe Topics 1 Mon Apr 16, 2018 7:29 pm
No new posts COBOL MVS options BiswajitDG COBOL Programming 8 Fri Apr 06, 2018 12:35 am

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