Step 2: Register the Task

About Registering a Task

In order to run a task in SAS Studio, you must register the task. The registration information is displayed on the INFORMATION tab in the user interface. When you complete this step, you will have registered the Convert Character to Numeric task and created the INFORMATION tab, as shown in this screen shot.
Contents of INFORMATION Tab

Edit the Registration Element

In the blank task, here is the Registration element:
Contents of the Registration Element
Revise the code in the Registration element to match the following code:
<Registration>
   <Name>Convert Character to Numeric</Name>
   <Description>Converts a character variable to a numeric variable</Description>
   <GUID>TBD</GUID>
   <Procedures>None</Procedures>
   <Version>3.5</Version>
</Registration>
Note: This code removes the Link element because it is not needed for this example. The GUID and Procedures elements are required for the CTM code to run.

View the Information Tab

Click Run Icon to generate the user interface for the task. The resulting user interface includes an INFORMATION tab that lists the properties that you specified in the Registration element.
Contents of INFORMATION Tab
Close the task and return to the tab that contains the CTM code.
To save your CTM code:
  1. Click Save Icon. The Save As dialog box appears.
  2. In the selection pane, select My Tasks.
  3. Specify a name for the CTM file and click Save.