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
 

 

Can i use a AIX file in Cobol program

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
akpannur
Currently Banned

New User


Joined: 17 May 2008
Posts: 10
Location: Hyderabad

PostPosted: Thu Aug 21, 2008 10:56 pm    Post subject: Can i use a AIX file in Cobol program
Reply with quote

When I try to open an AIX vsam file it shows vsam error
Please help me to solve it

Thanks
Anoop
Back to top
View user's profile Send private message

Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 7931
Location: Bellevue, IA

PostPosted: Thu Aug 21, 2008 11:37 pm    Post subject:
Reply with quote

Your DD name points to the path not the AIX. And your DD name will be the base cluster DD name with a 1 appended.

If you need more help, you'll have to provide the VSAM error and possibly the COBOL statements as well as DD statements.
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 7931
Location: Bellevue, IA

PostPosted: Fri Aug 22, 2008 1:15 am    Post subject:
Reply with quote

What VSAM error? Is there a file status code? Use to Code feature to show the SELECT for the file from the COBOL code and the DD statements in your JCL for the selected file; without more information there's simply no way to determine anything about your problem. If it's not a file status code, show the exact error message(s) in the job log as well.
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 -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts SORTJOIN - Copy Matched and Unmatched... Steve Ironmonger DFSORT/ICETOOL 5 Tue Jan 17, 2017 4:26 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
No new posts Need Suggestion on COBOL program vickey_dw COBOL Programming 5 Thu Jan 05, 2017 10:55 pm
No new posts Copy RECFM =VB TO FB file with RECL =... sahil41352 DFSORT/ICETOOL 3 Wed Dec 28, 2016 11:29 pm


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