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

Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.

Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

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