You can use FTP
CRTPF FILE(YOURLIB/FTPIN) RCDLEN(80)
Use DBU or UPDDTA put in the FTP commands to signon to the server and retrieve the file
Set up a CLP that does
CRTPF FILE(QTEMP/FTPIN) RCDLEN(80)
OVRDBF FILE(INPUT) TOFILE(YOURLIB/FTPIN)
OVRDBF FILE(OUTPUT) TOFILE(QTEMP/FTPOUT)
Now you will have your flle and you can do whatever you want with it.