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
 

 

How to know if I got the correct copy book?

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Mainframe Interview Questions
View previous topic :: :: View next topic  
Author Message
Zai Cabading

New User


Joined: 11 May 2005
Posts: 7

PostPosted: Sat Dec 20, 2008 11:42 pm    Post subject: How to know if I got the correct copy book?
Reply with quote

Do we have a document containing a validation that the correct copybook is being called for recompiles or by the modules?
Thank you all
Back to top
View user's profile Send private message

dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Sun Dec 21, 2008 12:20 am    Post subject:
Reply with quote

Hello,

This would depend on how Configuration Management (CM) is implemented in the organization. . .

There is nothing in IBM cobol that ensures the correct copybook is used. When the compile is run, the member found in the copylib pds is used, but there is no way to ensure it is the correct copybook.

Possibly i misunderstand the question?
Back to top
View user's profile Send private message
Aaru

Senior Member


Joined: 03 Jul 2007
Posts: 1288
Location: Chennai, India

PostPosted: Mon Dec 22, 2008 11:17 am    Post subject: Reply to: How to know if I got the correct copy book?
Reply with quote

Zai,

Its the developers responsibility to have the latest and correct copybook in the COPYLIB pds and AFAIK there are no tools for this.
Back to top
View user's profile Send private message
Anuj Dhawan

Senior Member


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

PostPosted: Tue Dec 23, 2008 5:26 pm    Post subject:
Reply with quote

Hello,

Pardon my rudeness (if it is in anyway..) ..you joined the Forum in 2005..& you ask this question..probably I would second to
Quote:
i misunderstand the question?
Back to top
View user's profile Send private message
Zai Cabading

New User


Joined: 11 May 2005
Posts: 7

PostPosted: Thu Jan 01, 2009 3:34 am    Post subject: Reply to: How to know if I got the correct copy book?
Reply with quote

I appreciate your help. I just need to know if we have the formal documentation regarding the topic I posted. No one misunderstood the questions I had. All had a great answer and are helpful.
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Thu Jan 01, 2009 4:14 am    Post subject:
Reply with quote

Hello,

Quote:
I just need to know if we have the formal documentation regarding the topic I posted.
Any formal documentation would be organization specific. To know if there is formal documentation on your system, suggest you talk with the people responsible for Configuration Management or Quality Control.
Back to top
View user's profile Send private message
Anuj Dhawan

Senior Member


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

PostPosted: Fri Jan 02, 2009 11:03 am    Post subject:
Reply with quote

Hi,

Even if I've one it will not work for you, as suggested it becomes a site specific question. However, I think - if you tell us how does this question coined out, may be better answer will pour in.
Back to top
View user's profile Send private message
Dsingh29

Active User


Joined: 16 Dec 2008
Posts: 132
Location: IBM

PostPosted: Wed Jan 07, 2009 1:26 pm    Post subject: Reply to: How to know if I got the correct copy book?
Reply with quote

We use ChangeMan Tool in our organisation, which takes care of the latest and correct generation used in the program otherwise it throws an error. It picks latest generations from the base libraries and during compilation checks for the correctness of the copybook's variables. Hope this would help. Or you can check the ChangMan tool's manual on the Internet for further reference.

Thanks,
Dave
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 Jan 07, 2009 6:36 pm    Post subject:
Reply with quote

Hi,

Change Man will tell you the error in(with) the "current" copybook it will not tell if you have used a right copybook or not - it's a programmer's responsibilty. Copy-book is a just a name anyways.
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 -> Mainframe Interview Questions 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 HALDB data refresh/copy from producti... vineetanand2007 IMS DB/DC 1 Mon Jan 02, 2017 11:16 am
No new posts Copy RECFM =VB TO FB file with RECL =... sahil41352 DFSORT/ICETOOL 3 Wed Dec 28, 2016 11:29 pm
No new posts syncsort: copy lines after the keyword shreya19 SYNCSORT 7 Fri Dec 02, 2016 9:47 am
This topic is locked: you cannot edit posts or make replies. Get correct date and time when curren... balaji81_k DB2 24 Fri Oct 14, 2016 10:40 pm


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