Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Change in Copybook and recompile

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

New User


Joined: 06 Apr 2007
Posts: 33
Location: USA

PostPosted: Sat Apr 14, 2007 1:02 am    Post subject: Change in Copybook and recompile
Reply with quote

I have to change a procedure division copybook(Perform a para Y) that is used by pgm A and B .I dont want to execute that para Y by PGM B and also donot want to code anything in pgm B.I want to just recompile B .Is it possible??

I have a thought like:

In copybook:

Perform X thru X-exit

In Pgm A

X:
Perform para Y thru Y-exit
X-exit.
In Pgm B
X:
continue
X-exit.

I want to get rid of even this coding in pgm B because then it would be in too many programs besides B.Please guide.
Back to top
View user's profile Send private message

ami777us

New User


Joined: 06 Apr 2007
Posts: 33
Location: USA

PostPosted: Sat Apr 14, 2007 1:11 am    Post subject: Re: Copybook and recompile
Reply with quote

ami777us wrote:
I have to change a procedure division copybook(To include a NEW Perform a para Y) that will be used by pgm A.But the copybook is also used by PGM B .I dont want to execute that para Y by PGM B and also donot want to code anything in pgm B.I want to just recompile B .Is it possible??

I have a thought like:

In copybook:

Perform X thru X-exit

In Pgm A

X:
Perform para Y thru Y-exit
X-exit.
In Pgm B
X:
continue
X-exit.

I want to get rid of even this coding in pgm B because then it would be in too many programs besides B.Please guide.
Back to top
View user's profile Send private message
agkshirsagar

Active Member


Joined: 27 Feb 2007
Posts: 686
Location: Earth

PostPosted: Sat Apr 14, 2007 1:26 am    Post subject: Re: Change in Copybook and recompile
Reply with quote

Quote:
I have to change a procedure division copybook(To include a NEW Perform a para Y) that will be used by pgm A.But the copybook is also used by PGM B .I dont want to execute that para Y by PGM B and also donot want to code anything in pgm B.I want to just recompile B .Is it possible??

Add your new para in CPBOOK.
In program B
COPY CPBOOK
REPLACING == PERFORM Y PARA(your new line)== BY ====.
So that it won't execute in programB.
Tell me if this addressed your problem..?
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 Cannot change DATACLAS on DFSMSdss re... Alan Playford JCL & VSAM 10 Tue May 01, 2018 6:43 pm
No new posts Repeat Sequence Number Until change i... rahulabvp DFSORT/ICETOOL 6 Thu Mar 29, 2018 12:51 pm
No new posts How to change the logon screen info o... sakthikumarT TSO/ISPF 4 Fri Dec 29, 2017 6:44 pm
No new posts Change NULL indicator in UNLOAD utility Khadhar Basha DB2 2 Fri Dec 15, 2017 3:01 pm
No new posts Extract record for change in combinat... Trinadh DFSORT/ICETOOL 6 Thu Nov 23, 2017 3:32 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us