18.08.2013 Views

Programming Reference Manual - Public Support Login - Unisys

Programming Reference Manual - Public Support Login - Unisys

Programming Reference Manual - Public Support Login - Unisys

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Copying Between Files<br />

5.3.3. Source File Identifier<br />

The source file identifier parameter names the file from which data is copied. The<br />

named file must be a tape file for which the run of the calling program has read<br />

privileges. See 2.3 for a full description of this parameter.<br />

5.3.4. Destination File Identifier<br />

This destination file identifier parameter names the file to which data is copied. The<br />

named file must be a mass storage file for which the run of the calling program has write<br />

privileges. See 2.3 for a description of this parameter.<br />

5.3.5. Descriptor Return Area<br />

With this parameter, PCFP returns the description of the logical file read from the tape<br />

file. The size of this parameter is given by the item DESC_RTN_AREA_SIZE in the<br />

function packet. Whenever DESC_RTN_AREA_SIZE = 0, PCFP ignores this parameter<br />

and does not return the description of the logical file to the calling program. To return<br />

the entire logical file description, the calling program must provide an area that is at least<br />

15 words long. The descriptor return area is defined in element FP$RTN$SAFD.<br />

Note: Figure 5–5 shows the new format that is returned when INTERFACE_LEVEL has<br />

a value of at least FP_INTERFACE_LEVEL_2. New definitions must be used when using<br />

the new interface level.<br />

• For C users, the new definition name is fp_rtn_saf_desc_2_type.<br />

• For COBOL users, the new definition name is FP-RTN-SAF-DESC-2.<br />

• For FORTRAN users, the new definition name is FP$RTN$SAFD2.<br />

If you modify an existing COPY_SAF_RAF or COPY_SAF_SAF function to use an<br />

INTERFACE_LEVEL value of FP_INTERFACE_LEVEL_2, you must also modify the<br />

descriptor return area definition to use the new definition name. For compatibility, the<br />

current definition names are unchanged and describe the interface level1 descriptor<br />

return area. The format of the interface level1 descriptor return area is described in<br />

comments contained in the current definitions.<br />

5–20 7830 9796–013

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!