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-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

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
  • 760 views
  • 0 likes
  • 1 in conversation