I'm trying to run this statement in AS400 and I keep getting an error,
specific with the char(10). Does anyone know what I need to change the
char(10) to work?

   'while [ "$tryexport" = "true" ]; do',char(10),
   '  eval ${SIEBEL_HOME}/bin/dataexp /u &3 /p &4 /c &5 /d &2 /f
${DATA}/'||NAME||'.dat /i ${DATA}/'||NAME||'.inp /q 1000 /l
${DATA}/'||NAME||'_exp.log >> nul',char(10),
   '  validate $? '||NAME,char(10),
   '  if [ "$tryexport" = "false" ]; then',char(10),
   '     tryexport=true',char(10),
   '     break',char(10),
   '  fi',char(10)||

Your assistance is highly appreciated!

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2022 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.