MITHARG
Would you like to react to this message? Create an account in a few clicks or log in to continue.

TCAT is not working as expected

Go down

TCAT is not working as expected Empty TCAT is not working as expected

Post  kasthuri Sun Jan 27, 2013 2:47 pm

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?

kasthuri

Posts : 212
Join date : 2013-01-27

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum