And if the filename pipe statement isn't available for you, check with your SAS administrator as to as to why that is the case as described at https://platformadmin.com/blogs/paul/2011/06/noxcmd/

I noticed that in your code at (9), it has < which I guess should have rendered as <