Index action, 55 background, 57, 108 data, 58 newwindow, 58 nobanner, 56, 58 notimer, 56 program, 56 properties, 56 tree, 55 XML, 4 ActiveX Image, 48 Add-in for Microsoft Office, 1, 89 Excel as data source, 90 running a stored process, 89 SAS Central, 90 Allow execution on other applications servers, 8 Allow execution on selected application server only, 8 appearance graphics output, 46 style sheet, 42 application server, 7 attachment coding, 133 AUTOEXEC.SAS, 13 automatic variable name, 25 batch process PROC STP, 4 SAS 9.2 and prior, 4 BI Dashboard, 1, 95 custom indicators, 103 data sources, 95 A B C CARD/CARD4 statement advantages, 121 coding, 121, 125 variables, 122 CARD/CARDS4 statement, 142 chaining reports, 35 coding add fields, 132 appearance, 41 append data set from input data, 135 changes for stored process, 18 convert existing code, 15 date prompts, 19 email message, 148 error trapping, 116 first stored process, 15 HTML forms, 120, 124, 130 JavaScript, 138 linking graphs, 53 linking reports, 35 logic test, 133 logs, 60 message to user, 116 multiple selections, 23 optional prompts, 27 output format, 144 prompt groups, 30 prompts, 18 quoting, 18 quoting, 122 upload file, 133 comma-separated values (CSV), 130 compatible, 63 configuration files, 60 custom form, 125 D data libraries, 13 data sources, 10, 70, 88, 95, 158 data table storage, 12 data tables. See also library data targets, 10, 70, 90, 158 datalines. See CARD/CARD4 statement date range, 19 dates prompts, 19 range, 19 working with, 21 device drivers, 47 display as hyperlink check box, 88 edit source code button, 11 email messages, 151 E The 50 Keys To Learning SAS Stored Processes Index 162
example boxplot chart, 103 collect input, 128, 136 collect user input, 125 conditional prompts, 34 date prompt, 22 display result, 128 email output, 149 forms, 122 get user attachment, 131 group prompt, 34 HTML coding, 122 linking with graphs, 54 mobile devices, 150 multiple prompts, 34 multiple selection prompt, 26 other outputs, 145 prompt on page with output, 139 remove odd characters, 142 sessions, 113 single prompt, 18 stored process layout, 51 user input issues, 142 Excel data sources, 90 field, 132 file types. See output form field adding, 132 GBARLINE procedure example, 141 GOPTIONS statement, 150 graphic formats, 47 graphics device ActiveX image, 139 HTML output, 11, 46, 47, 144 HTML coding, 60 data sets, 122 drop-down field, 140 forms, 120, 124, 130, 135 input files, 135 user input, 120, 124, 130 F G H Information Delivery Portal, 1, 105 alert portlet, 110 stored process portlet, 105 I URL portlet, 106 Information Map Studio, 1, 10, 73 adding stored processes, 77 prompts, 79 JavaScript adding to stored process, 139 coding forms, 140 coding functions, 140, 142 forms, 138 user input, 138 JPG, 47 layout, stored process output, 49 LIBNAME statement, 13 META, 13 library, 13 logconfig.xml, 60 logs, 60, 61 J L M macro coding, 26, 27, 29, 34, 38, 46, 69, 125 automatic variables, 21, 22 converting to stored process, 16 debugging, 60 options, 60 reserved variables, 134 macro statement using with stored process, 117 when to remove, 18 macro variable, 25 global, 139 prompts, 69 metadata BI Dashboard exceptions, 95 defined, 5, 12 hiding stored process, 36 library, 3, 73 coding, 74, 96 permission, 12, 13, 62 library with PROC STP, 153 logs, 78 permission, 3, 8, 12, 13, 62 PROC STP, 155 register blank table, 74 source code, 5, 8, 11, 12, 58, 71 source code repository, 12 stored process name, 66 troubleshooting, 62 metaout, 13 data, 127 Microsoft Word special characters, 141 163 Index The 50 Keys To Learning SAS Stored Processes
mobile devices, 150 N no_bottom_matter option, 139 no_top_matter option, 139 ODS HTML statement, 139, See also HTML coding changes for stored process, 18 coding options, 139 no_bottom_matter, 139 no_top_matter, 139 usage, 125 using with stored process, 138 ODS LAYOUT statement coding, 52 example, 51 ODS REGION statement, 52 options fullstimer, 61 mlogic, 60 mprint, 60 nomlogic, 60 nomprint, 60 output ActiveX charts, 46 email, 148 HTML, 11, 46, 47, 144 Java charts, 46 PDF, 46, 144, 149, 150 RTF, 47, 144 XML, 11 O P package result, 97, 105 _debug_file parameter, 60 background processing, 109 BI Dashboard, 96 channel, 11 defined, 11 email, 11 permanent, 11 portlet, 110 SAS Publishing Framework, 97 stored process reports, 4, 111 transient, 11 Web Report Studio, 82 WebDAV, 11 parameters tab add group prompt, 31 adding prompts, 17 dependent prompts, 33 editing prompts, 24 editing shared prompts, 146 multiple prompts, 20 registeration, 9 shared prompts, 42, 146 pdf, 150 PDF, 130 PNG, 47 PRINT procedure used in stored process, 19 PROC procedure used in stored process, 26 PROC STP, 78 coding, 155 data tables, 156 debugging, 153 INPUTDATA statement, 160 INPUTPARAM statement, 161 metadata access, 153 metadata registration, 157 ODSOUT statement, 160 OUTPUTDATA statement, 156 OUTPUTFILE parameter, 158 prompts, 161, 162 prompts example, 162 syntax, 153 ProcessBody comment, 4 prompt cascading group, 79 on webpage, 138 prompts _debug, 46 _gopt_device, 46 _odsdest, 46 _properties, 58 Add-In for MS Office, 91 adding, 9, 69 allow multiple selections, 25 coding, 18, 22, 25, 26, 29, 34, 74, 116, 118, 156, 160 creating a prompt, 9 date, 19 date range, 19, 22, 161 default values, 56 dependent, 33 displayed value, 33 editing, 9 email, 148 errors, 116 formatted value, 33 graphs, 30 groups, 9, 30 removing, 49 hidden, 59, 74, 108 information map, 73, 79 inputparam, 156, 160, 161 errors, 161 invalid, 116 multiple selections, 23, 26, 27, 162 new, 9 The 50 Keys To Learning SAS Stored Processes Index 164
ODS Styles, 44, 46 optional, 27, 28, 29 output, 9 require response, 28 SAS Enterprise Guide, 65, 69 shared, 9, 43, 144 single selection, 17 STP procedure, 153 text, 17 unshare, 45 unshared, 146 variables, 30 Web Report Studio, 84 PUT statement variables, 122 put statements coding, 121 quoting, 18, 122 HTML code, 121 Q R rename function, 133 reports drill down, 87 reserved macros _action, 38, 55, 57 background, 108 _debug, 46, 58 _debug_file, 60 _gopt_device, 46 _odsdest, 46, 144, 146 _odsstyle, 42 _sessionid, 114 _srvname, 38, 54, 88, 128 _srvport, 38, 54, 88, 128 _webin, 130 _webin_content_length, 134 _webin_content_type, 134 _webin_file_count, 134 _webin_fileext, 134 _webin_filename, 134 _webin_fileref, 134 _webin_name, 134 _webin_sasname, 92 _webout, 139 webout, 120, 138, 160 results permanent package, 11 streaming, 11 transient package, 11 retained reports, 111 RTF, 47 output, 144 SAS 9.3, 4 SAS Central, 90 SAS Content Server, 96 SAS Date Variables, 21 SAS Enterprise Guide, 3, 65 %stpbegin/%stpend, 67 adding a stored process, 70 editing a stored process, 71 email options, 151 modifying a stored process, 71 portal, 105 project, 160 projects, 72 registering a stored process, 5, 65 running a stored process, 70 update library tool, 74 using with 9.3, 63 SAS Management Console, 3, 74 SAS Enterprise Guide 4.3 or lower, 63 stored process reports, 112 SAS Metadata Server PROC STP, 155 registering a stored process, 5 storing source code, 12, 66 supporting older stored processes, 63 SAS Object Spawner, 13, 153 SAS Publishing Framework, 96 SAS Quality Control, 90 SAS Stored Process Server, 4, 60, 68, 73, 92, 93, 97, 104, 108, 153 permission, 62 using, 10 SAS Stored Process Web Application, 2, 55 _debug, 58 accessing, 2 stored process reports, 110 URL, 2 SAS Workspace Server, 73, 93, 97, 104 permission, 62 processbody comment, 4 using, 10 SAS/GRAPH, 48 SASSRV, 7, 13, 62 server types selecting, 7 sessions, 97, 154, 156, 160 defined, 112 performance, 113 stored process server, 10 using, 112 SMTP server, 151 source code, 12 stored process, 8 source code repository, 8, 12 SQL procedure S 165 Index The 50 Keys To Learning SAS Stored Processes
using in stored process, 28 stored process accessing and using, 1 adding prompts, 9 chaining, 38 create output, 7 data source creation, 10 data targets, 10 error message, 58 fails, 58 hiding from user, 36 improving apperance, 41 linking, 38 linking reports, 35 naming, 6 output, 8 parameters, 9 performance, 61 permission, 12 prompts, 16 results, 8 samples, 3 server type, 7 simple example, 16 working with dates, 19 stored process code organizing for groups, 61 storage location, 8 stored process reports, 110 scheduling, 110 STPBEGIN defined, 18 ODS HTML, 139 stream result, 68, 93 _debug, 60 BI Dashboard, 104 defined, 11 SAS 9.2 and prior, 4 SAS 9.3, 4 stored process server, 10, 11 workspace process server, 10 STRIP() function, 88 style sheets, 41 TIFF, 47 troubleshooting, 38 _debug parameter, 58 common issues, 62 logs, 58, 60 no output, 56 no results, 69 options, 60 package results, 60 permission library, 13, 154 source code, 12 preventing errors, 116 preventing issues, 135 PROC STP, 154, 161 prompts, 56, 69 unsupported stored processes, 63 T U unshare prompts, 146 upload file, 135 URL defined, 37 limits, 38 stored process, 38 used with prompts, 38 user input, 120, 124, 130, 135 user selections, 25 W Web Report Studio, 1, 73, 82 adding a stored process, 82 group breaks, 85 linking stored processes, 85, 89 used in portal, 105 WEBOUT no_bottom_matter, 139 no_top_matter, 139 XML input stream, 158 source, 92 X The 50 Keys To Learning SAS Stored Processes Index 166