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: 6967
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: 6967
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 Job failing with USER = 4093 REASON C... Pradeepa S ABENDS & Debugging 1 Wed May 17, 2017 3:35 pm
This topic is locked: you cannot edit posts or make replies. Cobol GUI (like Editor) Kala Mainframe COBOL Programming 14 Wed May 10, 2017 12:30 pm
No new posts IMS T-Pipe queue counts in a COBOL Pr... Siva NKK Kothamasu IMS DB/DC 0 Tue May 09, 2017 6:31 pm
No new posts Dump analysis of an assembler module monica1 PL/I & Assembler 4 Tue May 09, 2017 10:05 am
No new posts COBOL Code Parsers and Lineage Establ... balimanja COBOL Programming 2 Tue May 02, 2017 3:30 am


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