09-30-2022
Marwa_Se
Obsidian | Level 7
Member since
07-04-2017
- 29 Posts
- 23 Likes Given
- 2 Solutions
- 0 Likes Received
-
Latest posts by Marwa_Se
Subject Views Posted 764 06-16-2021 06:13 AM 783 06-16-2021 05:45 AM 786 06-16-2021 05:43 AM 1441 06-08-2021 06:01 AM 1400 11-26-2020 08:11 AM 1496 09-21-2018 03:20 AM 1524 09-20-2018 11:05 AM 1531 09-20-2018 10:59 AM 1559 09-20-2018 10:30 AM 1761 08-03-2018 07:19 AM -
Activity Feed for Marwa_Se
- Posted Re: Delete rows using conditions on SAS Programming. 06-16-2021 06:13 AM
- Liked Re: Delete rows using conditions for Kurt_Bremser. 06-16-2021 06:12 AM
- Posted Re: Delete rows using conditions on SAS Programming. 06-16-2021 05:45 AM
- Posted Delete rows using conditions on SAS Programming. 06-16-2021 05:43 AM
- Liked Re: Proc import from teams for japelin. 06-08-2021 08:22 AM
- Posted Proc import from Microsoft Teams on SAS Programming. 06-08-2021 06:01 AM
- Liked Re: EXPORT SAS DDE doesn't communicate with windows 10 Excel 2016 for JOL. 01-21-2021 06:19 AM
- Posted EXPORT SAS DDE doesn't communicate with windows 10 Excel 2016 on SAS Programming. 11-26-2020 08:11 AM
- Posted Re: Extract key word from a composed reference on SAS Programming. 09-21-2018 03:20 AM
- Liked Re: Extract key word from a composed reference for ballardw. 09-21-2018 03:19 AM
- Posted Re: Extract key word from a composed reference on SAS Programming. 09-20-2018 11:05 AM
- Liked Re: Extract key word from a composed reference for ErikLund_Jensen. 09-20-2018 11:04 AM
- Liked Re: Extract key word from a composed reference for ErikLund_Jensen. 09-20-2018 11:04 AM
- Posted Re: Extract key word from a composed reference on SAS Programming. 09-20-2018 10:59 AM
- Liked Re: Extract key word from a composed reference for novinosrin. 09-20-2018 10:44 AM
- Posted Extract key word from a composed reference on SAS Programming. 09-20-2018 10:30 AM
- Posted Re: How to parameterize the counter for browsing week numbers on SAS Programming. 08-03-2018 07:19 AM
- Posted Re: How to parameterize the counter for browsing week numbers on SAS Programming. 08-03-2018 05:45 AM
- Posted Re: How to parameterize the counter for browsing week numbers on SAS Programming. 08-03-2018 05:34 AM
- Liked Re: Replace the missing values for hashman. 08-03-2018 03:27 AM
-
Posts I Liked
Subject Likes Author Latest Post 1 1 2 1 1
06-16-2021
05:45 AM
Sorry the overtaking is the rows number to keep and not to delete
... View more
06-16-2021
05:43 AM
Hello Everybody! I have a dataset defined as bellow: BANK_AGENCY ID_Customer Date Overtaking A 0001 10/02/2021 3 A 0002 12/03/2021 3 A 0003 13/04/2021 3 A 0004 25/05/2021 3 B 0005 18/01/2021 2 B 0006 25/02/2021 2 B 0007 03/06/2021 2 Overtaking is the number of rows to delete by agency and ordering by date For simplicity, I would like to get this result: BANK_AGENCY ID_Customer Date Overtaking A 0002 12/03/2021 3 A 0003 13/04/2021 3 A 0004 25/05/2021 3 B 0005 18/01/2021 2 Can you help me please ? Any suggestions are welcome 🙂 Thank u in advance
... View more
06-08-2021
06:01 AM
Hello everybody,
Is there any way to import files on SAS from microsoft teams ?
Thank you in advance!
Marwa,
... View more
11-26-2020
08:11 AM
Hello everybody, I'm working with the DDE export to generate a dashboard, i used to work with this code below to open my excel file before Moving to Windows 10 SYSTASK COMMAND "Start Excel";
Data _NULL_;
CALL SLEEP (5,1);
RUN;
/* Open excel */
filename xc dde 'excel|system';
DATA _null_ ;
file xc;
put '[ouvrir("file\Challenge.xlsx")]' ;
t=sleep(5) ;
RUN ; Now since we moved to Windows 10 even when i'm using the same PC SAS version 9.4 but Excel 2016. When I run the same code with the same dataset, the PC SAS gets hung for an eternity after a couple of seconds and then I have to just kill the process. Nothing happens to the open excel file. I can't even see the log since the PC SAS gets hung. Please suggest a solution for this thank u in advance! Marwa
... View more
09-21-2018
03:20 AM
Yes i adapted my database to the method and now it works perfectly
... View more
09-20-2018
11:05 AM
thank u so much, but it's very strange even your method doesn't work for some references i must have a problem with my database, i will focus ... Thank you again for your help
... View more
09-20-2018
10:59 AM
Thank u a lo, it works but not for the whole references , I thought that was related to the length because i can't obtain the whole name for example for this reference : CARD BANK 000170999200 i obtained ony : CARD i added format var $100.; but it doesn't work
... View more
09-20-2018
10:30 AM
Hello! I spent the whole day looking for solution for my problem but with no issue I have a set of data which contains operations bank, i would like to extract only the name of the compagny or the business service it's very complicated because the operation name is a reference with lot of numbers and characters For example: operations 0123456789 2547 IKEA 5874521 265935 ORANGE ASSUR 254 147 77745812 MERCEDES 25477 257CARREFOUR15 1254 774 i would like to obtain a colum like this bellow: Result IKEA ORANGE ASSUR MERCEDES CARREFOUR Seriously the person who will find the solution for this would be a real Genius !! Thank you in advance guys !!
... View more
08-03-2018
07:19 AM
I'm not sure if what i wrote was right! this is my program: filename tmp pipe 'dir "C:\Users\vfselma\Desktop\DDE SIEGE\CDG\Pilotage commercial Perso\SAS\TEST/*.xlsx" /b';
data _null_;
infile tmp dlm="¬";
input;
call execute(cats('proc import file="C:\Users\vfselma\Desktop\DDE SIEGE\CDG\Pilotage commercial Perso\SAS\TEST" dbms=excel out=swork.objindiv_",put(_n_,best.),"; run;'));
run; and this what was written in the log NOTE: The infile TMP is:
Périphérique d'accès au pipe non nommé,
PROCESS=dir "C:\Users\vfselma\Desktop\DDE SIEGE\CDG\Pilotage commercial
Perso\SAS\TEST/*.xlsx" /b,
RECFM=V,LRECL=256
Sortie Stderr :
Fichier introuvable
NOTE: 0 records were read from the infile TMP.
NOTE: L'étape DATA used (Total process time):
real time 0.20 secondes
cpu time 0.03 secondes
... View more
08-03-2018
05:45 AM
i don't know why but it doesn't work ..
... View more
08-03-2018
05:34 AM
My problem wasn't really obvious. Actually, i wanted to create a macro variable that contains all the week numbers since the beginning of the year. In order to import files which are sorted by the week number... proc import out = work.ObjCollab_01 (drop=username Actifs) datafile = "\\....\ObjHebd_20181.xlsx" dbms = excel replace; getnames = yes; run;
proc import out = work.ObjCollab_02 (drop=username Actifs) datafile = "\\\\....\ObjHebd_20182.xlsx" dbms = excel replace; getnames = yes; run;
proc import out = work.ObjCollab_03 (drop=username Actifs) datafile = "\\....\ObjHebd_20183.xlsx" dbms = excel replace; getnames = yes; run;
proc import out = work.ObjCollab_04 (drop=username Actifs) datafile = "\\....\ObjHebd_20184.xlsx" dbms = excel replace; getnames = yes; run;
proc import out = work.ObjCollab_05 (drop=username Actifs) datafile = "\\....\ObjHebd_20185.xlsx" dbms = excel replace; getnames = yes; run;
proc import out = work.ObjCollab_06 (drop=username Actifs) datafile = "\\....\ObjHebd_20186.xlsx" dbms = excel replace; getnames = yes; run;
proc import out = work.ObjCollab_07 (drop=username Actifs) datafile = "\\....\ObjHebd_20187.xlsx" dbms = excel replace; getnames = yes; run;
proc import out = work.ObjCollab_08 (drop=username Actifs) datafile = "\\....\ObjHebd_20188.xlsx" dbms = excel replace; getnames = yes; run;
proc import out = work.ObjCollab_09 (drop=username Actifs) datafile = "\\....\ObjHebd_20189.xlsx" dbms = excel replace; getnames = yes; run;
Etc. etc. etc.
So instead of having 52 lines of proc import for each file every week, i want to create a macro variable that would replace the week number in one proc import... I
... View more
08-02-2018
03:58 AM
Thank u so much, this is exactly what i wanted Have a nice journey
... View more
08-02-2018
03:43 AM
Hello, I have a data set as follows: username values AAA . AAA . AAA 5 AAA . AAA . BBB 1 BBB . BBB . CCC . DDD . DDD 5 i would like to replace the missing values for each username with its non null one, in other way i would like to obtain something like this: Usernames values AAA 5 AAA 5 AAA 5 AAA 5 AAA 5 BBB 1 BBB 1 BBB 1 CCC . DDD 5 DDD 5 Do u have any suggestion guys ? Thank you in advance for ur help
... View more