Click here to Skip to main content
15,789,360 members

Comments by JohnnyG62 (Top 13 by date)

JohnnyG62 4-Jun-17 22:46pm View    
Some one showed me a solution for this. I want to document in case this will help others.

I changed the PIC for the input file

LASTSALEAMTIN TO PIC X(13).

Then I added a field in working storage
01 LASTSALE PIC 9(9)V99.

Then added this to the procedure division
MOVE FUNCTION NUMVAL(LASTSALEAMTIN) to LASTSALE
JohnnyG62 10-Jan-17 16:07pm View    
This still didn't work but Richard's suggestion works
JohnnyG62 10-Jan-17 16:06pm View    
yes that works !
JohnnyG62 10-Jan-17 14:44pm View    
I pasted the rest of the code.
JohnnyG62 1-Dec-16 14:11pm View    
I tried the non c++11 suggestion and that worked great ! Now I trying to remove a string from a vector.
For example:
v.remove(it);

but get this compile error
‘class std::vector<std::basic_string<char> >’ has no member named ‘remove’