BookmarkSubscribeRSS Feed
Ramag
Calcite | Level 5

Hi All,

I have a variable F_1 having lines as below from log. I need to create a sequence variable dynamically based on 1st occurrence value ='System name' and last occurrence value='End time'. PLease suggest.

 

__Report System name is XXXX-XX111111
__Report Compile Server name is xxxxxx-xx111111.yy.yyyyyy.n
__Report User name is zzzz
__Report Input program name is D:\zzzz1_zzz\xyz101B\xyz101B0001\rmz_1\pgr\sale\l_ae.sas@@\zxcv\0
__Report Start time is 05/06/2023:12:50:28.65

Starting remote SAS execution on xxxxxx-xx111111.yy.yyyyyy.n of l_ae.sas
Running SAS l_ae.sas
ERROR in the execution. UNIX Please consult log l_ae.log.
Press any key to continue . . .
__Report End time is 05/06/2023:12:57:07.76

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 0 replies
  • 244 views
  • 0 likes
  • 1 in conversation