PMS Information Systems
Welcome to PMS Information Systems - IBM i (AS/400) Forum !!!

Get Answers for all your queries on IBM i (AS/400).

TCAT is not working as expected

View previous topic View next topic Go down

TCAT is not working as expected

Post  rajkumar400 on Sun Dec 26, 2010 3: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?

Raj




rajkumar400

Posts : 59
Join date : 2010-12-25

View user profile

Back to top Go down

View previous topic View next topic Back to top

- Similar topics

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