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

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

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