The view GETDATA2 looks like:
The batch command looks like:
After executing these commands on the AIX and executing a CRTSAVE command, we used FTP to copy the data to a windows machine.
Trouble is that we cannot read the resulting OUTFILE on the windows machine.
Code:
SELECT load.didr1, mclocat.* FROM cs/unitsinaz, mglg01/mclocat, mglg01/load INNER JOIN unitsinaz.ulunit=mclocat.ulunit AND mclocat.ulord#=load.diodr# AND mclocat.ulunit=load.diunit
Code:
SBMJOB CMD(EXECUTE VIEW(CS/GETDATA2) OUTFILE(CS/MGLG01OUT)) JOB(MGLG01OUT) JOBD(*USRPRF) JOBQ(QS36EVOKE)
Trouble is that we cannot read the resulting OUTFILE on the windows machine.
Comment