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

how to replace invalid datanames in order to create XREF mem


IBM Mainframe Forums -> Compuware & Other Tools
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
rkprasanth_m

New User


Joined: 22 Jun 2006
Posts: 44

PostPosted: Tue Mar 20, 2007 6:29 pm
Reply with quote

we have copybooks in my shop with invalid datanames. These invalid characters of data names are being replaced by valid characters in source program by COPY statement.

ex: COPYBOOK

01 :IO:-DATANAME-A.
05 :IO:-DATANAME-B PIC X(01).
88 :IO:-DATANAME-FLAG VALUE 'A'.

In Source:

COPY COPYBOOK REPLACING -:IO:- BY -IO-.

So, The problem is I am unable to XREF the above copybook since the copybook contains invalid characters, in this case it is ':'. I wish to replace the invalid characters. Would you please give a solution for this..

Thanks
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


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

PostPosted: Fri Mar 23, 2007 5:23 am
Reply with quote

Hello,

It would be a bit of extra work, but if you want to use these copybooks in XREF, you could create a new copylib pds and copy the needed copybooks into it. Once you have the new pds, edit the :io: to io.

Then, you might be able to point XREF at the "clones", while the complile would run against the originals.

I'm not familiar with XREF, but if it has a step before/outside the compiler, you just might be able to do what you want.

If this will work for you, i'd suggest getting rid of the clone library to prevent confusion later.
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 -> Compuware & Other Tools

 


Similar Topics
Topic Forum Replies
No new posts Replace each space in cobol string wi... COBOL Programming 3
No new posts Replace Multiple Field values to Othe... DFSORT/ICETOOL 12
No new posts How to create a list of SAR jobs with... CA Products 3
No new posts Rotate partition-logical & physic... DB2 0
No new posts replace word 'MONTH' with current mon... SYNCSORT 11
Search our Forums:

Back to Top