|
This is a multipart message in MIME format. -- [ Picked text/plain from multipart/alternative ] You might want to take this to the code400 list. Rob Berendt -- "They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety." Benjamin Franklin "David Gibbs" <dgibbs@mks.com> Sent by: midrange-l-admin@midrange.com 07/31/2002 08:45 AM Please respond to midrange-l To: midrange-l@midrange.com cc: Fax to: Subject: QCDRCMDD generates bad XML?? Folks: I'm trying to work with V5R1 Websphere Development Studio Client for iSeries using the command prompter. Some of the commands I try to invoke from the client don't prompt properly. The commonality between the commands is that there is a quote mark '"' in the parameter prompt text. Turns out that WDSC uses QCDRCMDD to extract the command definition into XML. Unfortunately, the XML that is being generated is invalid. The fragment of XML that is causing problems is this: <Parm Kwd="QUOTE" PosNbr="1" KeyParm="NO" Type="CHAR" Min="0" Max="1" Prompt="This parm contains "quotes"" Len="10" Rstd="NO" AlwUnprt="YES" AlwVar="YES" Expr="NO" Full="NO" DspInput="YES" Choice="Character value"> Obviously the prompt value is invalid, because of the quote marks. We're working with someone at IBM on the problem, but he isn't experiencing it. Our iSeries is running V5R1M0 (obviously) with the latest cume package. I used Bruce Vining's example for extracting a command definition to XML at http://archive.midrange.com/rpg400-l/200206/msg00411.html to collect my data. Has anyone experienced anything similar? Thanks! david -- David Gibbs Sr. Software Engineer / R&D / MKS Inc., www.mks.com Lombard, IL, USA; tel: 630-495-2108; fax: 630-495-3591 Build Better Software _______________________________________________ This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To post a message email: MIDRANGE-L@midrange.com To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/cgi-bin/listinfo/midrange-l or email: MIDRANGE-L-request@midrange.com Before posting, please take a moment to review the archives at http://archive.midrange.com/midrange-l.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 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.