I am trying out CGIDEV2 for the first time to generate XML. I am having issues with certain elements showin ***Missing Data*** instead of the actual field value. I know have value filled in field because during debug I see the value.
RPG Code
H dftactgrp(*no)
*-/copy: H specifications, for copy -*
h/COPY QRPGLESRC,HSPECS
*-/copy: H specification for binding directories -*
h/COPY QRPGLESRC,HSPECSBND
d masterProductData...
d e ds extname(DBPRODPF)
d detailProductData...
d e ds extname(DBPDTLPF)
s* ------------------------------------
s* | Product DATA STRUCTURE |
s* ------------------------------------
d dsProductData...
d ds
d productCode like(ino)
d shortDesc like(idesc)
d longDesc like(idescu)
d charSellPrice 10
d* sellPrice like(sPrice)
d discPrice like(sprsp)
d qtyOnHand like(sinv)
s********************************************************************
s* TESTCGIDEV : 'S ' GLOBAL VARIABLES *
s********************************************************************
d itemNumber s like(productCode)
d inz('000010414')
d XML_Output s 256a varying
d inz('/home/ADUARTE/CGIDEV2/+
d products.xml')
d rc s 10i 0
d noDataString c 'No Data'
D* --------------------------------------------------
D* Prototype for program: deleteGLAcct
D* --------------------------------------------------
D testCGIDEV PR extpgm('TESTCGIDEV')
//**********************************************************************
//** S U B R O U T I N E S
//**********************************************************************
begsr sr_Init;
Thank you for your assistance.
Art Duarte
[data:%3c;base64,R0lGODlhngAkAPcAAApksWWdzu30+aXG4vf6/VqWy4Wy2Hmq1azK5eTu9/r8/jF8vkWJxNHi8Axlsi15vD2EwV2Yy2CazBBoswBdrqHE4cXa7ZK63E6OxuLs9ghisfj7/X2s1TR+vxZqtVGRyLbQ6LjS6UCGw5i+3nao04Cu1/3+/om02rnT6bzU6h9wuPT4+xdstQZhsHCl0jeAv8jc7vz9/oy22p7C4TmCwCFyuL7W60mMxRpttqDD4fr8/VSSyd7q9ejw+LLO5/H2++ry+Ch2u6jI49vo9CJyuXOm0pS73QpksglisRFmspW83dbl8rTQ5+zz+WKczcPY7MHY69zo9Cd2uqrJ5KvK5dro87vU6ZzA4H2s1g1mso6426/M5bTP50eKxTiBwMzf76/M5s3g71aUyqnI5IKv1xhst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34Ez+CXRDVwqCssGBCSqIAxpR/PNghBP+M0OOYOUDSlnGSPMJSReokkqII7kAQE3MyOCQijOx6GJ///1Tg4I0HVMIjmCGZYOPENIkIYVEeoVDdgIZA0oEJH3BwpMkTSHLUrVosE9DWPqjJUH7cSmQU68kqihTsNhCZn+KvqLUUsY8gyaQAvXjSqSJNtPKTDhAQ5AxALhDUhSr4DlSCrA0BYokDAX/OuhAhdIU4z+fLnUOAmP0OsYFbTb66EwdDODrFAu4QqmlP6oZZBWV+OorJlL448CSA/nwSi8uGGTGL+D+4kQwBQ2RKpQEBVBHuE4YxKpTtXCykKwtEvqiP7fmSlMQBSWwylLC/oPgUrERFEcsy17qrEJaTIBDB+sMlEAHOHBrkE6gZMzHLeWeaxAFLWQMCh/uttqUKsdcoBC9W9rapb4zSVEQL//SFPDANHWi3EAiIExTpQrPtCZCSwijCrYDHcGCPxYXRMhSAHBMkLmqEkQMkaCU/NUqKiMUaCqvBODE2E5EsLTLAsHsj8wE0QywowK3qTNBPSfc]
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.