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
 
how to replace invalid datanames in order to create XREF mem

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Compuware & Other Tools
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    Post subject: how to replace invalid datanames in order to create XREF mem
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

Site Director


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

PostPosted: Fri Mar 23, 2007 5:23 am    Post subject:
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    IBMMAINFRAMES.com Support Forums -> Compuware & Other Tools All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts INVALID RECFM FOR DDNAME SYSLIN AND C... sandeep kumar302 All Other Mainframe Topics 7 Fri Apr 27, 2018 6:07 pm
No new posts Find & Replace string in CA-SORT mrgnndhmk CA Products 1 Fri Mar 30, 2018 12:58 am
No new posts Invalid XML character while producing... nikhil.bhole IBM Tools 4 Tue Mar 20, 2018 1:24 am
No new posts Replace last name by first name anatol DFSORT/ICETOOL 10 Thu Mar 15, 2018 3:43 pm
No new posts Need better approach to create a sort... Vamshi Veludandi DFSORT/ICETOOL 8 Thu Mar 08, 2018 5:59 pm

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