TCAT is not working as expected
Page 1 of 1
TCAT is not working as expected
I have a CL program which receives char field 200 A as a parameter.
Code snippet of the program as follows:
IF COND(&IFSPATH *NE ' ') THEN(DO)
CHGVAR VAR(&IFSPATH) VALUE(&IFSPATH *TCAT +
'/home.html')
CVTDBF2IFS FILEFROM(GNFQG100) LIBFROM(QTEMP) +
MEMBER(*FIRST) FILETO(&IFSPATH) +
APPTO(EXCEL)
ENDDO
When i call the program i get the result as expected i.e &IFSPATH = 'USER/WEB/SCRIPTS/home.html'
But when i call in batch mode &IFSPATH has ''USER/WEB/SCRIPTS/' and home.html is not concatenated.
can you help me to sole this issue?
Raj
Code snippet of the program as follows:
IF COND(&IFSPATH *NE ' ') THEN(DO)
CHGVAR VAR(&IFSPATH) VALUE(&IFSPATH *TCAT +
'/home.html')
CVTDBF2IFS FILEFROM(GNFQG100) LIBFROM(QTEMP) +
MEMBER(*FIRST) FILETO(&IFSPATH) +
APPTO(EXCEL)
ENDDO
When i call the program i get the result as expected i.e &IFSPATH = 'USER/WEB/SCRIPTS/home.html'
But when i call in batch mode &IFSPATH has ''USER/WEB/SCRIPTS/' and home.html is not concatenated.
can you help me to sole this issue?
Raj
rajkumar400- Posts : 59
Join date : 2010-12-25
Similar topics
» DDS values keyword is not working as expected
» DFT keyword is not working
» Keywords VALUES, RANGE, COMP are not working
» DFT keyword is not working
» Keywords VALUES, RANGE, COMP are not working
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum
|
|