IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Can i use a AIX file in Cobol program


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
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
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: 8696
Location: Dubuque, Iowa, USA

PostPosted: Thu Aug 21, 2008 11:37 pm
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: 8696
Location: Dubuque, Iowa, USA

PostPosted: Fri Aug 22, 2008 1:15 am
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Compare 2 files and retrive records f... DFSORT/ICETOOL 3
No new posts FTP VB File from Mainframe retaining ... JCL & VSAM 8
No new posts Extract the file name from another fi... DFSORT/ICETOOL 6
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts Replace each space in cobol string wi... COBOL Programming 3
Search our Forums:

Back to Top