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: 6968
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: 6968
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
No new posts EXIT or RETURN cvnlynn CLIST & REXX 16 Wed Jul 19, 2017 2:50 am
No new posts XML Parse for COBOL 5.2 Bhanu Praveen COBOL Programming 1 Sat Jul 08, 2017 8:58 pm
No new posts Dynamic output file creation in cobol... smileheal COBOL Programming 7 Thu Jun 15, 2017 10:53 pm
No new posts Search utility(3.14) using JCl and Cobol RKS3 COBOL Programming 12 Sat Jun 10, 2017 10:24 pm
No new posts COBOL DB2 program - zIIP eligible vasanthz COBOL Programming 7 Wed May 31, 2017 5:12 am


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