BookmarkSubscribeRSS Feed
gauravsood19
Calcite | Level 5

I want to write data from SAS to Websphere queue. The desired format is an XML file. I have created the XML file and the data is being pushed into the queue. I can see the data in there but instead of transfering the complete XML tags , only bits and pieces of data are being transferred. The data which i am seeing in queue is randomly available. I am using the IBM Websphere Queue Writer transform in SAS DI.

 

This is how my XML file looks like

 

<mfc:Message xmlns:mfc="urn:posten.no/MFC_Interface">
<mfc:Header>
<mfc:MessageType>x0277s_fra_adr_vask </mfc:MessageType>
<mfc:MessageVersion>70722150112932992 </mfc:MessageVersion>
<mfc:SystemSupplier/>
<mfc:TimeStamp>19SEP2017:15:41:28 </mfc:TimeStamp>
</mfc:Header>
<mfc:Body>
<mfc:ConsignmentNumber>70722150112932992 </mfc:ConsignmentNumber>
<mfc:AddressPointId>681740 </mfc:AddressPointId>
<mfc:RecipientId>19010680 </mfc:RecipientId>
<mfc:Name>NAME 123 </mfc:Name>
<mfc:Address1> Address 123  </mfc:Address1>
<mfc:Address2></mfc:Address2>
<mfc:StreetName></mfc:StreetName>
<mfc:StreetNumber></mfc:StreetNumber>
<mfc:PoBoxNumber></mfc:PoBoxNumber>
<mfc:AreaName></mfc:AreaName>
<mfc:PostalCode>7011 </mfc:PostalCode>
<mfc:PostalName> OSLO </mfc:PostalName>
<mfc:CountryCode>NO </mfc:CountryCode>
<mfc:MapCoordinateX>7009053 </mfc:MapCoordinateX>
<mfc:MapCoordinateY>298730 </mfc:MapCoordinateY>
<mfc:MapCoordinateSystem>UTM Sone 33 (EUREF89/WGS84 </mfc:MapCoordinateSystem>
</mfc:Body>
</mfc:Message>

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

Register now

How to connect to databases in SAS Viya

Need to connect to databases in SAS Viya? SAS’ David Ghan shows you two methods – via SAS/ACCESS LIBNAME and SAS Data Connector SASLIBS – in this video.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 0 replies
  • 1061 views
  • 0 likes
  • 1 in conversation