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

Steps to be followed to change the copybook


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
cvkumar59

New User


Joined: 25 Aug 2006
Posts: 18

PostPosted: Wed Aug 30, 2006 12:42 pm
Reply with quote

Hi friends,
I am supposed to change a copybook . where i should start and let me know the steps which i have to follow during the process.
Regards
Kumar
Back to top
View user's profile Send private message
neelesht

New User


Joined: 24 Jul 2006
Posts: 99
Location: Los Angeles

PostPosted: Wed Aug 30, 2006 12:50 pm
Reply with quote

Hi Kumar,

To make the changes in copybook, also identify the programs which will get affected due to the copybook change(the programs using this copybook).

Make the necessary changes in Copybook, after that compile the programs which will get affected and then create a package to move this into production.

I have given just a broad view, so please let us know if you need the specific steps.

Also let me know if I am wrong.

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

Global Moderator


Joined: 27 Dec 2005
Posts: 2358
Location: Israel

PostPosted: Wed Aug 30, 2006 2:01 pm
Reply with quote

If you change the structure of the copybook (not only the fields names), make sure that the other programs doesn't MOVE the copybook to some other structure.

O.
Back to top
View user's profile Send private message
cvkumar59

New User


Joined: 25 Aug 2006
Posts: 18

PostPosted: Wed Aug 30, 2006 3:00 pm
Reply with quote

Hi,
How to list out the effected programs . Is it that we have to use any tool for that....
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2358
Location: Israel

PostPosted: Wed Aug 30, 2006 3:03 pm
Reply with quote

Use SUPERC to look for the copybook name in your sources library.

O.
Back to top
View user's profile Send private message
cvkumar59

New User


Joined: 25 Aug 2006
Posts: 18

PostPosted: Fri Sep 01, 2006 12:00 pm
Reply with quote

Hi ,
Plz give a clear guidance to me . This was an interview question i had faced . Now i dont have any mainframe access also. explain the process step by step.
Back to top
View user's profile Send private message
sharda

New User


Joined: 13 Sep 2006
Posts: 7

PostPosted: Thu Sep 14, 2006 11:18 am
Reply with quote

Hi Frds,

Plz explain me How to create package ? and also the SUPERC ?

Thks
Back to top
View user's profile Send private message
guptae

Moderator


Joined: 14 Oct 2005
Posts: 1208
Location: Bangalore,India

PostPosted: Sat Sep 16, 2006 7:50 pm
Reply with quote

Hi Sharda,

1. First u need to identify how many program are using that particular copybook:

thats u can do using Superc ( or 3.14)

2. Now change the copy book sturcture.

3. Check in the program which u got from the first step if there any group move to that copy book if it is there than make appropiate changes & again compile the program & test it.

Hope it will helpful
Back to top
View user's profile Send private message
priyesh.agrawal

Senior Member


Joined: 28 Mar 2005
Posts: 1448
Location: Chicago, IL

PostPosted: Sat Sep 16, 2006 11:05 pm
Reply with quote

Sometimes for a widely used copybook, programmers create a separate copybook to define Working Storage Area, rather than coding there itself.

In this case you'll also have to change WS Copybook accordingly.
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 -> COBOL Programming

 


Similar Topics
Topic Forum Replies
No new posts REXX code to expand copybook in a cob... CLIST & REXX 2
No new posts 3270 personal communications. Can't c... TSO/ISPF 2
No new posts CA7 deleting files in steps after job... CA Products 4
No new posts SELECT from data change table DB2 5
No new posts Trying to change copybook in online c... CICS 4
Search our Forums:

Back to Top