Usage Note 36524: DM statement prevents recognition of CURSOR statement/attribute in SAS/AF®
If you use the DM statement to directly invoke a SAS/AF PROGRAM entry, the cursor will be placed on the command line rather than on the field that is referenced in the CURSOR statement or on the field with the CURSOR attribute. Here is an example of using the DM statement directly:
dm 'af c=libref.catalog.entryname.program' af;
|
To circumvent the problem, use one of the following methods:
-
Create a dummyPROGRAM entry with a NONDISPLAY PROTECTED window field. In the SOURCE panel, code the following:
init: call execcmd('end;'); return;
main: return;
term: return;
|
-
In the INIT section of the program that uses the CURSOR statement, code the following:
init: call display('dummy.program'); cursor field; return;
|
-
In the INIT section of the program that uses the CURSOR statement, code the following:
init: call execcmd('backward'); cursor field; return;
|
Operating System and Release Information
| SAS System | SAS/AF | z/OS | 8.1 TS1M0 | |
| OpenVMS VAX | 8.1 TS1M0 | |
| OS/2 | 8.1 TS1M0 | |
| Microsoft Windows 95/98 | 8.1 TS1M0 | |
| Microsoft Windows 2000 Advanced Server | 8.1 TS1M0 | |
| Microsoft Windows 2000 Datacenter Server | 8.1 TS1M0 | |
| Microsoft Windows 2000 Server | 8.1 TS1M0 | |
| Microsoft Windows 2000 Professional | 8.1 TS1M0 | |
| Microsoft Windows NT Workstation | 8.1 TS1M0 | |
| Microsoft Windows XP Professional | 8.1 TS1M0 | |
| Windows Millennium Edition (Me) | 8.1 TS1M0 | |
| ABI+ for Intel Architecture | 8.1 TS1M0 | |
| AIX | 8.1 TS1M0 | |
| HP-UX | 8.1 TS1M0 | |
| IRIX | 8.1 TS1M0 | |
| OpenVMS Alpha | 8.1 TS1M0 | |
| Solaris | 8.1 TS1M0 | |
| Tru64 UNIX | 8.1 TS1M0 | |
*
For software releases that are not yet generally available, the Fixed
Release is the software release in which the problem is planned to be
fixed.
| Date Modified: | 2009-07-23 13:55:46 |
| Date Created: | 2009-07-13 16:06:34 |