Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

user name is not unique

Status
Not open for further replies.

SHAZaIN

Programmer
Apr 13, 2021
1
IN
im trying to fectch data from the variable that has already populated like

01 ws-date pic x(10).

from this im again trying to fetch data and store back like

move ws-date(1:4) to ws-date.
------------
marked above is throws error like not unique variable im not declaring im just reassign the value.

Thank you in advance
 
probably need to move to an intermediate variable. Or move spaces/zeros to positions 5 to end. Or Trim it.
 
Hi,

I use these kind of moves all the time for shifting operations and complex initializing of tables, so I don't see any trouble here. Perhaps there is somewhere an other variable with the same name?

Which compiler do you use?

Perhaps you can show the whole program?



 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top