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 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 Fileaid Update Replace with null string descann Compuware & Other Tools 4 Mon May 15, 2017 3:00 pm
No new posts Replace values in the input data Vikas Maharnawar DFSORT/ICETOOL 10 Thu May 11, 2017 2:18 pm
No new posts Unable to create multiple files using... mbattu COBOL Programming 3 Fri May 05, 2017 5:35 pm
No new posts copy SEQ to PDS and create stats steve-myers JCL & VSAM 7 Thu Apr 27, 2017 1:15 am
No new posts INVALID FIELD OR CONSTANT IN SORTOF ?? Ron Klop DFSORT/ICETOOL 8 Wed Jan 11, 2017 3:44 pm


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