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
 

 

Calling to cobol module but failing with return 35

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF
View previous topic :: :: View next topic  
Author Message
nkothako

Active User


Joined: 26 Nov 2008
Posts: 125
Location: chennai

PostPosted: Fri Dec 09, 2011 1:55 am    Post subject: Calling to cobol module but failing with return 35
Reply with quote

What is the mistake in my code
Code:
/*REXX */                                               
ADDRESS TSO                                             
"ALLOC DD(INP) DA('XXX.TEMP.NAG') SHR REUSE"           
"ALLOC DD(OUT) DA('XXX.TEMP.NAG1') SHR REUSE"           
"CALL 'XXX.LOD(XX13T15)' '&INP &OUT'"   
"FREE F(INP)"                                           
"FREE F(OUT)"         


Tried below as well but failed with same error

Code:
/*REXX */                                               
ADDRESS TSO                                             
"ALLOC FI(INP) DA('XXX.TEMP.NAG') SHR REUSE"           
"ALLOC FI(OUT) DA('XXX.TEMP.NAG1') SHR REUSE"           
"CALL 'XXX.LOD(XX13T15)' '&INP &OUT'"   
"FREE F(INP)"                                           
"FREE F(OUT)"
Back to top
View user's profile Send private message

dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Fri Dec 09, 2011 2:12 am    Post subject:
Reply with quote

What are the dd names for the files within the cobol module?
(in select statement)

and how is your linkage working with the attempt at file name passing?
Back to top
View user's profile Send private message
nkothako

Active User


Joined: 26 Nov 2008
Posts: 125
Location: chennai

PostPosted: Fri Dec 09, 2011 2:24 am    Post subject: Reply to: Calling to cobol module but failing with return 35
Reply with quote

thx alot problem resolved and issue is due to DDNames
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Fri Dec 09, 2011 2:55 am    Post subject:
Reply with quote

glad to help, thx for feedback.

it's the little things in life that just eat you butt up.
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 -> TSO/ISPF All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
This topic is locked: you cannot edit posts or make replies. Full Time COBOL Software Development ... shally Mainframe Jobs 0 Fri Jan 20, 2017 5:24 am
This topic is locked: you cannot edit posts or make replies. COBOL Software Development Lead at Fi... shally Mainframe Jobs 0 Fri Jan 20, 2017 5:21 am
No new posts How to Capture the Max return code of... anilkumar922 All Other Mainframe Topics 0 Thu Jan 12, 2017 12:02 pm
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


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