Please use the search-function or the whatever search-service you use. The problem has been discussed and solutions are available.
Maxim 6: Google Is Your Friend.
Do a search for "sas read vsam file", and you will get the respective SAS documentation as first hit.
Refer to the SAS documentation: VSAM
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.