Of the command examples given in the previous topic (showing iSeries™-to-iSeries examples), all except the first example can be coded the same way for accessing a file on a System/36™.
That is, if the remote file name SALES/CAR is changed to CAR to meet the System/36 naming conventions, all the commands (except the first) can be used without change to access a remote System/36 file instead of an iSeries file.
CRTDDMF FILE(DDMLIB/RMTCAR) RMTFILE(*NONSTD 'CAR') RMTLOCNAME(CHICAGO) TEXT('Chicago file CAR on S/36') LVLCHK(*NO)
This command creates a DDM reference file named RMTCAR and stores it in the DDMLIB library on the local iSeries server. The remote file to be accessed is the CAR file on the System/36 named CHICAGO. LVLCHK(*NO) is specified to prevent level checking because the level identifiers created for the System/36 file do not match those in the program when it accesses the file.