Hello,
I have a dataset name like this :
DSN = U60667.<002.XX>.DATA.
I want to replace <002.XX> with Q1 defined like :
01 Q1 PIC X(110).
Q1 can be of varying length. For this I wrote following code :
INSPECT DSN REPLACING ALL '<002.XX>' BY Q1.
But the compiler gave an error that Q1 is of higher length than '<002.XX>' . Could you suggest me something to overcome this.
Regards,
Vinod.