|
I'm trying to program a small tool to FTP IFS files to other systems
(we do this on an almost daily basis).
The program inserts line in an input file for a batch FTP session using
STRQSH. The problem comes when I want to insert a line line this one
quote rcmd CRTDIR DIR('/dir1/dir2/dir3')
(directory tree depth is not know, and it is a variable)
STRQSH CMD('DB2 "INSERT INTO LIBRARY.FILE (FIELD) VALUES('CRTDIR
DIR('/dir1/dir2/dir3'))"')
QSH reads the INSERT sentence from the first apostrophe to the one
after DIR(, so it fails inserting the line.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.