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-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

Register now

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
  • 420 views
  • 0 likes
  • 1 in conversation