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

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

Join the forum, it's quick and easy

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

Get Answers for all your queries on IBM i (AS/400).
PMS Information Systems
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  rajkumar400 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

Back to top Go down

Back to top

- Similar topics

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