11/5/2022 0 Comments Pmenu sas procedures guideItem 'Lock request date and time' Dialog=lckdt Help='Enter the Lock request date and time' Item 'Database Lock date' Dialog=dbl Help='Enter the Database Lock date' Item 'Study' Dialog=study Help='Enter the Study' Selection back 'end pgm include /home/gurunatp/utilitytask/pmenu3.sas submit' Selection utility 'end pgm include /home/gurunatp/utilitytask/utility.sas submit' Item 'Confirm entered parameters' menu=start Libname prith '/home/gurunatp/utilitytask' (b) The two date variables in the program are left unaltered, i.e at the end of the program I only get xxxxxxxxx and xxxxxxxxxxxxxxxxxxxxxxx for the variables dblock and lckdtrf respectively. (a) This program doesn't seem to work the way it is supposed to outside the sas environment (I use the unix environment) I have structured a menu for the window in such a way that all inputs are to be entered on the dialog boxes arising from different parameters selected in the menu.īut I have been undergoing a couple of issues in the same: #Pmenu sas procedures guide code#In the code above, dat1.sas, dat2.sas, dat3.sas, dat4.sas are all dataset statements to accept each entered parameter as a variable in their respective dataset.I was working on a mini project to take in input from the user in order to use that input for an external utility program. Item 'Lock user' Dialog=lckus Help='Enter the ID of the user running the program' ĭialog study 'end include c xx #1 'Enter Study:' ĭialog dbl 'end include c xx #1 'Enter Database Lock date:' ĭialog lckdt 'end include c xx #1 'Enter the Lock request date and time:' ĭialog lckus 'end include c xx #1 'Enter the ID of the user running the program:' Is it possible to keep the windowing environment open in order to enter all the parameters that I need. I was able to find a solution to the previous query, but another question arises in the midst of that. Text #2 'Enter the ID of the user running the program' Text #2 'Enter the Lock request date and time' Item 'Study' Dialog=lckus Help='Enter the ID of the user running the program' Item 'Study' Dialog=lckdt Help='Enter the Lock request date and time' Item 'Study' Dialog=dbl Help='Enter the Database Lock date' Now I am trying to make my own utility of sorts in order to take in 4 variables through dialog boxes.Īnd I am unsure of what needs o be input in place of the command string to get the input from the user and input it into one dataset. In the SUGI paper from observed a sample command string to be dialog detlinfo 'end include rptcode(detail) c xx I didn't understand it at all. I know that we need to specify a command string to define what the dialog is meant to do with the user input. #Pmenu sas procedures guide how to#But I haven't really been able to figure out how to configure dialog boxes to take in user input and put it into a dataset. I went through the available resources to learn about the PMENU procedure.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |