Jagadishkatam
Amethyst | Level 16
Member since
04-26-2012
- 2,054 Posts
- 499 Likes Given
- 241 Solutions
- 893 Likes Received
-
Latest posts by Jagadishkatam
Subject Views Posted 6292 06-22-2023 06:15 PM 1321 09-27-2021 03:29 AM 1376 09-27-2021 12:43 AM 1290 09-24-2021 11:53 AM 681 09-24-2021 09:58 AM 590 09-23-2021 03:34 AM 1016 09-21-2021 12:58 PM 3501 09-21-2021 10:58 AM 1750 09-20-2021 08:43 AM 5173 09-18-2021 02:40 AM -
Activity Feed for Jagadishkatam
- Got a Like for Re: Imputed days after an adverse event stop. 01-10-2025 07:00 AM
- Got a Like for Re: Top N rows per by-group. 11-08-2024 10:16 AM
- Got a Like for Re: SAS advanced Guide Chapter 1 quiz Q7. 05-22-2024 02:19 AM
- Got a Like for Re: Extract VARIABLE NAME and concatenate with other variable names based on condition. 04-09-2024 08:41 AM
- Got a Like for Re: How to find the week number of a month?. 01-09-2024 04:36 PM
- Got a Like for Re: How to find the week number of a month?. 01-09-2024 04:34 PM
- Got a Like for Re: remove trailing blank for %let macro variable. 11-20-2023 05:05 AM
- Got a Like for Re: Solving the error: A lock is not available for <dataset>. 10-09-2023 09:50 AM
- Got a Like for Re: Removing quotation marks. 09-22-2023 12:43 PM
- Got a Like for Re: Coding kilograms by inclusive numbers and median. 07-26-2023 03:43 PM
- Posted Re: 2023 Customer Awards: WCG Clinical Endpoint Solutions - Visual Storyteller on SAS Customer Recognition Awards (2023). 06-22-2023 06:15 PM
- Got a Like for Re: Pattern matching for mutation. 05-11-2023 07:36 PM
- Got a Like for Re: Proc format truncation of values. 04-20-2023 06:51 AM
- Got a Like for Re: Solving the error: A lock is not available for <dataset>. 01-25-2023 02:18 PM
- Got a Like for Re: Coding kilograms by inclusive numbers and median. 11-19-2022 05:47 PM
- Got a Like for Re: Solving the error: A lock is not available for <dataset>. 10-14-2022 03:35 AM
- Got a Like for Re: How do I only show frequency in the PROC FREQ?. 10-09-2022 03:59 AM
- Got a Like for Re: Attaching variable from another dataset. 09-30-2022 09:31 PM
- Got a Like for Re: Delete matched observations. 09-26-2022 10:08 AM
- Got a Like for Re: Decimal Places in Proc means. 09-13-2022 11:44 AM
-
Posts I Liked
Subject Likes Author Latest Post 1 1 1 2 2 -
My Liked Posts
Subject Likes Posted 1 12-13-2019 03:11 AM 1 04-16-2019 07:51 AM 1 08-25-2018 11:07 PM 1 08-25-2018 10:59 AM 1 10-16-2015 08:44 PM
a month ago
HI Randmize means assign to trt groups ,Here 20 subjects are randmized in this again 3 are not assign to trt How?
... View more
a month ago
Hi, Could you try this program? filename in PIPE 'type c:\temp\prodrun.log'; data check; infile in missover pad; input line $1000.; run;
... View more
04-20-2024
10:20 AM
here is the code may helpful data work.cleandata36; set cert.input36; group=upcase(group); if group in ('A','B'); run; proc means data=work.cleandata36 median; class group; var kilograms; run; data results.output36; set cleandata36; if Kilograms < 40 or Kilograms > 200 then do; if group='A' then kilograms=79; else kilograms=89; end; run; proc contents data=results.output36; run;
... View more
11-20-2023
05:06 AM
This did not help me directly, because that was not my question, but this answer helped me indirectly to solve another problem. Thanks.
- Dr. Abhijeet Safai
... View more
10-09-2023
12:06 PM
For folks who find the above solutions unsatisfactory or you're wondering why LOCK LIBNAME LIST or LOCK LIBNAME QUERY is returning something to the effect of "You and nobody on your system is locking this dataset." and yet you run a PROC DATASET step and your files are still locked, you have more options. You can check to see what files are in use by your system and terminate/kill those processes by process ID's. For Unix Systems, you can use lsof -p | grep FILENAME which will spit out the process ID(s) using the file. You can kill that process with kill -v PROCESS_ID. On Windows Servers, you have to install the Handle.exe program onto your compute server. Then you must open up the command prompt and run the handle.exe file and feed it the name of the table/file you are attempting to access. Which will provide the process ID(s) using the file. You open up Windows Task Manager, go to Details, sort your process IDs, and then you can kill that process. It is highly likely this will damage the file, however, we can delete the file and replace it with SAS Data Integration Studio. Looking at the LIBNAME statement you can find where on your machine the file is and delete it. Then you use SAS Data Integration studio to recreate your corresponding library.
... View more
09-15-2023
11:57 AM
Retrieving the source code of a compiled macro, such as a CapCut Reels template, is typically not possible. When code is compiled, it's transformed into machine-readable instructions, making it difficult to revert to the original source code. To access the source code, you would need the uncompiled version or the developer's files, which may not be publicly available for templates like CapCut Reels due to copyright and proprietary reasons.
... View more
06-01-2023
12:40 PM
1 Like
I used data step to import with the following option, this resolved the issue with unwanted quotes I got for the last column. Hope this helps. Thanks.
TERMSTR= option—Specifies what end-of-line character to use for a file. This option is specific to ASCII operating systems and is documented in the SAS 9.2 companion for your operating system. This option is useful when you want to share data files that are created on one operating system with another operating system. For example, if you are working in a UNIX environment and you need to read a file that was created under Windows, use TERMSTR=CRLF. Similarly, if you are in a Windows environment and you need to read a file that was created under UNIX, use TERMSTR=LF. The following INFILE statement illustrates reading a MAC file from a PC: infile 'C:\mydata\test.dat' dsd dlm='|' termstr=cr;
... View more
01-31-2023
05:18 AM
/*用于加X轴Y轴标签的上下标*/
data _anno;
length label $ 200;
drawspace="layoutpercent"; function="text"; textweight="normal"; textsize=12;textcolor="black"; width=200;
x1=50; y1=2.5;label="体重(*ESC*){sub 'mw'}"; output;
x1=2.5; y1=50;rotate=90;label="身高(*ESC*){sup 'mw'}"; output;
run;
/*****画散点图*****/
proc sgplot data=sashelp.class sganno=_anno;
scatter x=weight y=height;
xaxis label=' ';
yaxis label=' ';
run;
... View more
01-29-2023
03:46 PM
Hi: If you followed the setup instructions for Programming 1, when you expand the EPG194 folder (older name) or the EPG1V2 folder (newest name), then you should see a subfolder named output. If you right click on the output subfolder under your main class folder and in the popup menu on the right click, choose Properties, you should next see the Properties window which will contain the FULL path to the output subfolder. The libname could be: libname out "s:\workshop\EPG1V2\output"; or libname out "/home/<yourUserID>/EPG1V2/output"; or libname out "/home/<yourUserID>/EPG194/output";
or you may want to make an entirely NEW folder for your output under the class main folder. Let's say you do make a NEW folder under the EPG1V2 (or EPG194) class folder and you call the NEW folder mystuff, so when you want to write to the mystuff folder, your LIBNAME statement would change to something like: libname out "/home/<yourUserID>/EPG1V2/mystuff"; Using the right-click and Properties method will ALWAYS show you the correct folder path you need to use. Cynthia
... View more
01-20-2023
06:13 AM
@SanderB wrote: This answer is actually wrong because ANYHDTDTM will assume MM-DD-YYYY first over DD-MM-YYYY. If you give it 12-01-2023 it will read it as the 1st of December, but it should the 12th of January.
This is not (entirely) correct. The ANY... informats will prefer DMY or MDY depending on the DATESTYLE system option (which has a default setting of LOCALE, which means the current locale setting also influences the date order).
... View more
03-08-2022
04:51 PM
Works for me! Thanks!
... View more
09-27-2021
05:42 AM
Thanks a lot Dan. It works now and the additional comments help me a lot.
... View more
09-27-2021
03:29 AM
2 Likes
We then have to convert the character date to numeric date and follow the logic.
... View more