01-23-2020
Anindya
Calcite | Level 5
Member since
03-10-2016
- 18 Posts
- 1 Likes Given
- 0 Solutions
- 0 Likes Received
-
Latest posts by Anindya
Subject Views Posted 739 01-19-2020 09:01 AM 4391 05-27-2019 03:22 AM 4571 05-19-2019 01:23 AM 1581 10-12-2018 02:26 AM 2493 08-07-2018 06:16 AM 2498 08-07-2018 05:45 AM 2511 08-07-2018 01:35 AM 2540 08-06-2018 11:37 AM 2007 04-04-2016 12:38 PM 3421 03-13-2016 06:24 AM -
Activity Feed for Anindya
- Posted Calling IML function (Call Eigen) inside Proc Risk / Compile on SAS Risk Management. 01-19-2020 09:01 AM
- Posted Re: DI SCD Type 2 Loader Closing out records repeatedly on SAS Data Management. 05-27-2019 03:22 AM
- Liked Re: DI SCD Type 2 Loader Closing out records repeatedly for Patrick. 05-27-2019 03:14 AM
- Posted DI SCD Type 2 Loader Closing out records repeatedly on SAS Data Management. 05-19-2019 01:23 AM
- Posted XML not importing due to date issue on SAS Programming. 10-12-2018 02:26 AM
- Posted Re: Error while running stored process - Library APSWORK does not exist on Developers. 08-07-2018 06:16 AM
- Posted Re: Error while running stored process - Library APSWORK does not exist on Developers. 08-07-2018 05:45 AM
- Posted Re: Error while running stored process - Library APSWORK does not exist on Developers. 08-07-2018 01:35 AM
- Posted Error while running stored process - Library APSWORK does not exist on Developers. 08-06-2018 11:37 AM
- Posted Facing difficulties in Delta Normal Analysis on SAS Risk Management. 04-04-2016 12:38 PM
- Posted Re: Pseudo Random number generation in sas risk dimension on SAS Risk Management. 03-13-2016 06:24 AM
- Posted Re: Pseudo Random number generation in sas risk dimension on SAS Risk Management. 03-11-2016 02:08 AM
- Posted Pseudo Random number generation in sas risk dimension on SAS Risk Management. 03-10-2016 12:47 AM
-
Posts I Liked
Subject Likes Author Latest Post 4
01-19-2020
09:01 AM
Guys, I am trying to generate Eigen Value using call eigen subroutine inside a MIP UDL (pricing method). As the function can't be called directly, I have used run_macro facility of proc fcmp (based on the following link - https://documentation.sas.com/?docsetId=proc&docsetTarget=n19ylmyrvhp7y6n1889zmwsv9nuh.htm&docsetVersion=9.4&locale=en.) But after execution I am facing the following error - The function run_macro is not found. Please suggest. Note - Client is using Proc IML (Call Eigen) procedure to generate Eigen values and is expecting the same output from MIP as well.
... View more
05-27-2019
03:22 AM
Hi, Even I have faced a lot of issues while configuring SCD type 2 in SAS DI. Currently I have followed the suggestions given by @Patrick. I have written a piece of code which will update the deployed jobs at run time with the required changes and it works fine. This is seems to be a bug of SCD Type 2, I will try to raise it with SAS Tech Support and get it resolved, if possible. Thank you guys for your support.
... View more
05-19-2019
01:23 AM
Friends, I have created a job using SCD Type 2 loader and enable the option of closing out records if not available in source. Now the problem is as follows - Say a record got closed on 02JAN2019 and the valid_to_dttm is 01JAN2019:23:59:59. Now when I am running the job for 03JAN2019, again the same record is getting closed on 02JAN2019:23:59:59. I tried to find the reason in SCD Type 2 code and observed the following piece of code in change digest - by FINANCIAL_INSTRUMENT_ID VALID_TO_DTTM; if last.FINANCIAL_INSTRUMENT_ID; Now the last.financial_instrument_id column will always be having the latest record (even if the record got closed in the last run). Thus the closed account is getting considered in the current run and the same is again getting closed. Manual changes have been made in the code to get the expected result. But is there any way in SCD Type 2 configuration to get it corrected?
... View more
10-12-2018
02:26 AM
Hi, I am trying to import XML file which has a date 02/29/1956. While importing the XML file I am encountering the following error - ERROR: Data contains invalid content for date datatype. Invalid content is 02/29/19. occurred at or near line 3006, column 251 I have even used the YEARCUTOFF option but still facing the same error. Please help me in getting the issue resolved. filename xx temp;
libname xx xmlv2 '<folder>/Sample1.XML' automap=replace xmlmap=xx;
data entity;
set xx.entity;
run;
... View more
08-07-2018
06:16 AM
I am not using sasadm user. The one which you are getting in the log is getting generated from the host file. I have given permission to the work folder as well, but still the same error is coming.
... View more
08-07-2018
05:45 AM
Hi, I have included the libname statement in the same stored process which was generating the error and re-execute the same. The log is as follows - +libname apswork list;
NOTE: Libref= APSWORK
Scope= Kernel
Engine= V9
Access= TEMP
Physical Name= /tmp/SAS_workB97B0000710A_sasadm01.in/SAS_workDC6A0000710A_sasadm01.in
Filename= /tmp/SAS_workB97B0000710A_sasadm01.in/SAS_workDC6A0000710A_sasadm01.in
Inode Number=
Access Permission=
Owner Name=
File Size=
File Size (bytes)=
... View more
08-07-2018
01:35 AM
Hi, We are not declaring the APSWORK library reference in the code. We are using _TMPCAT variable which specifies temporary catalog name, and as per the stored process log, the variable _TMPCAT contains the following value - _TMPCAT=APSWORK.TCAT03CA I believe this some stored process defined reserved macro variable which is getting generated automatically while executing the stored process.
... View more
08-06-2018
11:37 AM
Friends, I have created stored process to publish a report. While executing the stored process I am getting the following error - ERROR: Library APSWORK does not exist.
ERROR: No body file. HTML output will not be created. I am actually trying to create a table of content for my report by using stored process default macro variables. Require your help to resolve the issue. The code is mentioned below - ods tagsets.tableeditor path=&_tmpcat (url=&_replay) contents=_webout frame=frame2.html file =temp.html
encoding='utf-8' style=styles.MyStyle1;
ods proclabel "LR INR Report";
proc print data=int_rep.LR_INR (Drop = run_date) noobs
;
title1 "Statement of Liquidity Return - Domestic Currency, Indian Operations";
title2 "Position as on - &Run_Date1.";
title3 "Amount in Rupees Lakhs";
run;
ods tagsets.tableeditor close;
... View more
04-04-2016
12:38 PM
Hello friends, Need a clarification on delta normal analysis. I am trying to estimate the portfolio VaR using a delta normal analysis where I have cosidered a variance / covariance matrix (user specified varified) for a multivariate model ( more than one risk factors). While running the analysis I am getting the following error - ERROR: The deltanormal analysis "<analysis name>" attempts to process an aggregation with 5 missing sensitivities for output variable "P/L". But the same matrix is working fine for a covariance based monte - carlo analysis. Please help me in solving the issue. Thanks, Anindya
... View more
03-13-2016
06:24 AM
Actually I was referring to this dataset even the same was attached in my last response. While generating the shocks dataset, I used Twister generator and mentioned seed as 54321. But the same if I use the same parameters in base sas coding (through RAND function), generated random numbers are not getting tallied with Risk dimension generated random numbers. I am just trying to figure out the reason for this difference.
... View more
03-11-2016
02:08 AM
Thanks for your reply. I have generated the random numbers both for monte carlo - covariance based method and monte carlo - model based method. For the model based approach I have used single risk factor and for model based method I have used multiple risk factors. But then also both of the analysis are generating the same set of random numbers. I am not sure if it is referring to the covariance matrix or not. Here I have attached the random numbers generated by system (only first 10 random numbers have been attached). I believe this will help to look into the matter in depth. Below is the RD code that has been used - SIMULATION MonteCarloSim_model
METHOD=montecarlo
DATA = HistoricalMarketData
HORIZON = ( 1 )
INTERVAL = WeekDay
GENERATOR = twister
NDRAW = 251
SEED = 54321
ERRORMODEL = NORMAL
;
SIMULATION MonteCarloSim
METHOD=covariance
DATA = Covar_matrix_new
HORIZON = ( 1 )
INTERVAL = WeekDay
GENERATOR = twister
NDRAW = 251
SEED = 54321
ERRORMODEL = ASFIT
; I am not able to understand the methodology that system is following to generate these random numbers. I am able to validate the sas - covarinace based monte carlo model in excel but not able to tally the random numbers (with constant seed value).
... View more
03-10-2016
12:47 AM
Hello, I am trying to configure co-variance based simulation in SAS Risk Dimension. I have used seed value as 54321 and have considered the twister random number generator. But the output is not getting tallied with the values generated by using RAND function in sas coding. Below is the piece of code which I tried to execute in SAS - data test;
call streaminit(54321);
do i=1 to 10;
var1=rand('normal');
output;
end;
run; Can anyone help me with the issue. I would like to know how SAS risk dimension is using the seed value for generating the random numbers and why the same is not getting tallied while generating the random numbers in base sas.
... View more