Recent Activity
Hello Community, I'm trying to generate management reports using SAS Job Execution, where a job is executed to enrich reports in Visual Analytics (VA). However, I'm facing an issue where none of the jobs are running successfully in SAS Job Execution. I'm unsure if I'm doing something wrong or if I missed a necessary step. I've attached the logs from the failed jobs in this post, hoping someone can help me troubleshoot and resolve this issue. PS: I've already generated alerts. These are the jobs👇 Thank you in advance!
... View more

0
0
Hello Community,
I'm having difficulty in creating a bin for each category of the histogram. The problem is one of the response categories has relatively small frequency and when using the sgplot procedure I couldn't create a bin for that category. The SAS Documentation I could find was not helpful enough to solve this issue. I would appreciate your support. Below is an example using sashelp.cars data. Trying 2 different ways: 1. Doesn't create a bin and tick value for all required categories (4, 5, 6, 8), instead creates a bin for non-existing value (10).
proc freq data=sashelp.cars;
where cylinders between 4 and 8;
table cylinders;
run;
proc sgplot data= sashelp.cars;
where cylinders between 4 and 8;
histogram cylinders/nbins=4 binstart=4 showbins dataskin=pressed;
yaxis label='Percent' ;
xaxis label='Cylinder' ;
run;
2. Creates tick values for required categories (4, 5, 6, 8), but not creating a bin for category 5 with a centered tick value.
proc sgplot data=sashelp.cars;
where cylinders between 4 and 8;
histogram cylinders/nbins=4 binstart=4 showbins dataskin=pressed;
yaxis label='Percent';
xaxis label='Cylinder' values=(4 5 6 8) offsetmin=0.2 offsetmax=0.2;
run;
How to fix it in either way, that is to create 4 bins for categories 4, 5, 6, 8 and display tick values in the center of the bin?
... View more

0
13
This is the second part of a three-part series that describes the connection options for the SAS Viya SDK for JavaScript.
Overview
Direct Connection (this article!)
Report Packages
Recall that the report components library of the SAS Viya SDK for JavaScript can be used in two fundamentally different ways: online using a direct connection to SAS Viya or offline using SAS report packages. In this article, we discuss the requirements, the steps, and the details of connecting directly to SAS Viya.
... View more

0
0
We need to extract data from z/os mainframe. We are able to download the datasets. However, data looks unreadable.
Here is the code we are using
%let PROD_UX=ram189prd.gwd.grpinf.net 5668; %let MF=PROD_UX; signon &MF. user="abcd" password="welcome2sas"; libname rwork slibref=work server=PROD_UX; rsubmit &MF.; data test2x /*view=test2x*/;
infile "PZLN.VMO00.POL1501" dsd; input @1 KEY $8. @9 STATUS1 $1. @10 STATUS2 $1. @19 RECTIME $8. @27 CKEY $13. @40 RECADTE $8. @48 RECATME $8. @56 CERTRTRN $1. @57 MEDDIABC $1. ; run; endrsubmit;
Dataset is generated , however it looks like this
����
R
�
��� ���
M240N24021201
�N������
������
�
� ����
Q
A
13:08:17
M240N24021201
Y
� ����
A
M
13:08:17
M240N24021201
N
� ����
Q
A
13:08:17
M240N24021201
��*D50
00000000
0
� ����
R
�
��� ���
K620S36102402
�N������
������
�
� ����
P
A
09:14:34
K620S36102402
N
� ����
A
M
09:14:34
K620S36102402
N
� ����
A
M
09:14:34
K620S36102402
N
Here is Proc contents output
Data Set Name
RWORK.TEST2X
Observations
304317
Member Type
DATA
Variables
9
Engine
REMOTE9
Indexes
0
Created
02/04/2025 04:57:48
Observation Length
49
Last Modified
02/04/2025 04:57:48
Deleted Observations
0
Protection
Compressed
NO
Data Set Type
Sorted
NO
Label
Data Representation
MVS_32
Encoding
open_ed-1146 United Kingdom (OpenEdition)
I am running the code on SAS Studio. How do i encode this dataset in readable format. Any help is appreciated
... View more

0
7
I can't get graphics to appear in the output file in SAS Viya with a relatively simple ODS HTML statement. This works fine in SAS 9.4, but doesn't work the same in SAS Viya.
ods html file='print.html' path="&_userhome" gpath="&_userhome";
proc print data=sashelp.class;
run;
proc sgplot data=sashelp.class;
scatter x=height y=weight;
run;
ods html close;
The output folder &_userhome exists. The output HTML file shows PROC PRINT output but not PROC SGPLOT output. How to fix?
... View more

0
4
Unanswered topics
These topics from the past 30 days have no replies. Can you help?