Help using Base SAS procedures

SAS SCL debugger can not get variable value from "entry" statement

Accepted Solution Solved
Reply
Occasional Contributor
Posts: 8
Accepted Solution

SAS SCL debugger can not get variable value from "entry" statement


I'm trying to use SAS SCL debugger, it works, but my SCL is called by another application which pass in data using "entry" statements, and SCL debugger can't get any data passed in, so every variable in the "entry" statement will be "missing", is there a way I can use SCL debugger and get the value of variables in the "entry" statement, so that I can use SAS SCL debugger successfully?


Accepted Solutions
Solution
‎10-20-2014 03:18 PM
SAS Super FREQ
Posts: 708

Re: SAS SCL debugger can not get variable value from "entry" statement

For the debuuger to work you will need to switch the debugger on, compile the code and then call the application using the AF command with the DEBUG=YES option.

This should allow you to call the application that calls your SCL code, once your code is called you should be in the debugger window.

You can always write a simple SCL program to call your SCL using the proper parms and then you can see the variables of the ENTRY statement

View solution in original post


All Replies
Solution
‎10-20-2014 03:18 PM
SAS Super FREQ
Posts: 708

Re: SAS SCL debugger can not get variable value from "entry" statement

For the debuuger to work you will need to switch the debugger on, compile the code and then call the application using the AF command with the DEBUG=YES option.

This should allow you to call the application that calls your SCL code, once your code is called you should be in the debugger window.

You can always write a simple SCL program to call your SCL using the proper parms and then you can see the variables of the ENTRY statement

Occasional Contributor
Posts: 8

Re: SAS SCL debugger can not get variable value from "entry" statement

Posted in reply to Bruno_SAS

Thanks, that's very helpful!

🔒 This topic is solved and locked.

Need further help from the community? Please ask a new question.

Discussion stats
  • 2 replies
  • 231 views
  • 1 like
  • 2 in conversation