View previous topic :: View next topic
|
Author |
Message |
nkothako
Active User
Joined: 26 Nov 2008 Posts: 125 Location: chennai
|
|
|
|
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 |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
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 |
|
|
Bill Woodger
Moderator Emeritus
Joined: 09 Mar 2011 Posts: 7309 Location: Inside the Matrix
|
|
|
|
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 |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
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. . . |
|
Back to top |
|
|
Ronald Burr
Active User
Joined: 22 Oct 2009 Posts: 293 Location: U.S.A.
|
|
|
|
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 |
|
|
|