I have a line looking very strange
it starts with x followed by double quote and end in double quote
X"mv &GXXXX/data file1 &GXXXX/data_file2"
inside the double quote is changing content of one file to another..
is this not sas command but linus or from dos? what does it mean?
What is unclear to you after reading the documentation I linked?
Hello @HeatherNewton
This line executes the operating system (Linux) command mv (move).
It is renaming the file atsm_static.sas7bdat to atsm_stat_bak.sas7bdat. (Note you have _bak added in the new name).
&G_IFC_STG_PATH is the macro variable that shows the path or location of the files.
Registration is now open for SAS Innovate 2025 , our biggest and most exciting global event of the year! Join us in Orlando, FL, May 6-9.
Sign up by Dec. 31 to get the 2024 rate of just $495.
Register now!
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.
Ready to level-up your skills? Choose your own adventure.