By "running an FTP step prior to this" do you mean that you are connecting to an FTP service using something like a SAS filename to read or write something? Correct. We connect to FTP and read data file from mainframe. The FTP process ends (can tell this both by the data step change on SAS PC as well as the fact that the OMVS segment on mainframe is disconnected). Once it ends it starts the next datastep processing, at that point I see no more activity in the SAS Work files and the log 'just disappears'. I cannot break the stream either, so I have to force close with task manager and manually clean up SAS Work files. If so, are you sure that step completed? Yes - see above. If you are running this interactively then do not submit the bit of code that does anything after using that filename. Network connections be what they may be it could be something in that connection taking a long time. Have tried that as well and have verified that the network connection to the mainframe has closed SUCCESSFULLY from the mainframe. Now we have had this issue with SAS getting hung before but I could always 'Halt Datastep' and get the process to kick back in running. I have not been able to do this at all with this run. I have others that work MUCH better with MORE data processed. So I am at a loss here. It may help to show the code you are submitting. Replace any sensitive information such as url and user/password with something like XXXX. libname pdb "D:\Customers\&cust.\&sysid.\&wk.&pt."; run; /* input files are SIRMKP.SMFDBWK.IP02 and SIRMKP.SMFDB.IP02*/ FILENAME SMF FTP ("'FILENAME1.FILENAME2. TEMP'") USER='UID' HOST='XXX.XX.XX.XXX' DEBUG S370VS RCMD='SITE RDW;SITE READTAPEFORMAT=S' LRECL=32760 PASS='YYYY'; %INCLUDE SOURCLIB(TYPSDB2); /* macro SAS code called to run */ run; If you are reading with a data step using the FTP as the infile you might try add the option obs=10 to restrict reading only 10 records from the file to see if that works. Not using an INFILE statement. This is a variable block spanned record. If the file is large and the connection slow a data step could take a long time. We have larger files that process successfully If the program isn't generating errors then there wouldn't be anything added to the log until the data step completes generally. Understand but there IS something in the log during the run and then it all disappears. It was there and is lost after it hangs. Where does it go?
... View more