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
 

 

Copy book issue

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
View previous topic :: :: View next topic  
Author Message
mytags

New User


Joined: 28 Apr 2008
Posts: 63
Location: US

PostPosted: Wed Apr 30, 2008 11:50 am    Post subject: Copy book issue
Reply with quote

Hi Friends
I just opened a vsam file using a copy book ,but i got an abend for the program, i found that its due to the copy book i used ,using this copy book i can't open file.Actually i tried it using Fileaid there i can open the same, there are more than 25 copy books are using for this VSAM file, i tried with many of them, but i can't solve the problem,Can anybody tell any method to find the correct copy book.Please help me its quite urgent.
With Regards,
Hari
Back to top
View user's profile Send private message

enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10274
Location: italy

PostPosted: Wed Apr 30, 2008 12:00 pm    Post subject: Reply to: Copy book issue
Reply with quote

ask Your peers,
search the application development documentation

PS.: please never use the word urgent when asking for help
Your urgency is not our urgency and...
we do not get paid for the time spent answering icon_cool.gif
Back to top
View user's profile Send private message
Anuj Dhawan

Senior Member


Joined: 22 Apr 2006
Posts: 6258
Location: Mumbai, India

PostPosted: Wed Apr 30, 2008 12:06 pm    Post subject:
Reply with quote

Well,

Enrico has given You a right direction. For an alternative solution, You can search the file name in 'base-line' source program library at your shop; if the file is not a new one & was used in some program, you might get luckier.
Back to top
View user's profile Send private message
mytags

New User


Joined: 28 Apr 2008
Posts: 63
Location: US

PostPosted: Wed Apr 30, 2008 12:06 pm    Post subject:
Reply with quote

Hi
Thanks Enrico
If you don't mind can you just suggest any method other than using File Aid?
If so it will be quite helpful to me. Becouse i don't have any peer for this project also they don't mention about all copy books. icon_redface.gif
Thanks
Hari
Back to top
View user's profile Send private message
vasanthkumarhb

Active User


Joined: 06 Sep 2007
Posts: 276
Location: Bang,iflex

PostPosted: Wed Apr 30, 2008 12:07 pm    Post subject:
Reply with quote

Hi,

when you open the file using the FILE-AID, you can able to see the variables used in the copy book, check for the copy boook contains those variables and use it.
Back to top
View user's profile Send private message
mytags

New User


Joined: 28 Apr 2008
Posts: 63
Location: US

PostPosted: Wed Apr 30, 2008 12:14 pm    Post subject:
Reply with quote

Hi Vasanth,
I found that most of the copy books contains same fields also but with some name difference, and some additional fields.Can you suggest any tool other than File aid for this purpose
With Regads,
Hari
Back to top
View user's profile Send private message
mytags

New User


Joined: 28 Apr 2008
Posts: 63
Location: US

PostPosted: Wed Apr 30, 2008 12:18 pm    Post subject:
Reply with quote

Hi all
I so thankful to all of you(Enrico,Vasanth,Anuj) for your timely help and advice, I found the copy book after along search i solved my error too.
Thanks alot
icon_smile.gif
Hari
Back to top
View user's profile Send private message
Anuj Dhawan

Senior Member


Joined: 22 Apr 2006
Posts: 6258
Location: Mumbai, India

PostPosted: Wed Apr 30, 2008 12:32 pm    Post subject:
Reply with quote

Hi,

You are welcome, but I'm with a blank expression on my face, please let us know the solution used. This
Quote:
I found the copy book after along search

is not clear to me. Please assist.
Back to top
View user's profile Send private message
mytags

New User


Joined: 28 Apr 2008
Posts: 63
Location: US

PostPosted: Wed Apr 30, 2008 3:24 pm    Post subject:
Reply with quote

Hi Anuj,
After checking the copy books using file aid i found a copy book which is most compatacble with my VSAM file i copied that copy book and add some changes to it,And using Change man i just staged my new copy book and compiled by using it.So that i can make my program workable.i feel to do so after seeing Vasanth's responses.
so i am thankful to you all.
Thanks
Hari
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 -> COBOL Programming All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Issue with NDM process to transmit ES... chetanambi All Other Mainframe Topics 6 Wed May 03, 2017 10:52 am
No new posts copy SEQ to PDS and create stats steve-myers JCL & VSAM 7 Thu Apr 27, 2017 1:15 am
No new posts Copy load modules and alias vasanthz IBM Tools 5 Thu Apr 20, 2017 6:31 am
No new posts SORTJOIN - Copy Matched and Unmatched... Steve Ironmonger DFSORT/ICETOOL 5 Tue Jan 17, 2017 4:26 pm
No new posts HALDB data refresh/copy from producti... vineetanand2007 IMS DB/DC 1 Mon Jan 02, 2017 11:16 am


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