Author: Khadhar Basha
Posted: Tue May 09, 2017 12:57 pm (GMT 5.5)
Hi,
When I try to hard code values as mentioned above, it not working for ""
Var1 = "CALL "MODULE2" USING"
here it interprets "CALL " ---> as a literal, MODULE2 ---> as variable/string, " USING" --> as literal, which is why pos and translate are not working.
When I try reading the same from a file - this is working - Strange - not sure how.
However, I am going to read cobol module (input) from file only, so am good. Thank you![icon_smile.gif]()
_________________
Khadhar Basha
Posted: Tue May 09, 2017 12:57 pm (GMT 5.5)
Hi,
When I try to hard code values as mentioned above, it not working for ""
Var1 = "CALL "MODULE2" USING"
here it interprets "CALL " ---> as a literal, MODULE2 ---> as variable/string, " USING" --> as literal, which is why pos and translate are not working.
When I try reading the same from a file - this is working - Strange - not sure how.
However, I am going to read cobol module (input) from file only, so am good. Thank you

_________________
Khadhar Basha