---
title: ryze API to SAS code example
slug: ryze/ryze-api-to-sas-code-example
description: Learn how to extract ODM data from the ryze API to SAS with this helpful SAS code example. The code retrieves ODM-xml and define-xml files, while utilizing the %panic() macro to effectively handle errors. Enhance your understanding of this code by referri
createdAt: 2023-06-09T12:59:01.000Z
---

The following SAS code example has been kindly shared by Joergen Iversen and can be used to extract ODM data from the ryze API to SAS.

::File{src="https://api.archbee.com/api/presign/aRGXD44FysHcCUICvfsxc/gHUkvYkqIEPM5yDB67DiB_ryzetosasexample.sas" label="ryzeToSasExample.sas" isUploading="false"}

For more information on how to use the SAS code example, see Joergen's presentation.

**Note:**

The ryze API to SAS example code is one directional and extracts ODM-xml and define-xml files.

The code uses a utility macro %panic() to exit gracefully in case of errors.
