{
{      The purpose of this request is to transfer a copy of a NOS/VE
{ file to a NOS/170 direct or indirect access permanent file.
{ If a NOS/170 direct access permanent file of the same name already
{ exists and if the file can be attached with write mode then the
{ existing direct access file is overwritten with a copy of the
{ NOS/VE file.  If write mode access is not granted an error status is
{ returned.  If a NOS/170 indirect access permanent file of the same name
{ already exists then its contents are replaced by a copy of the NOS/VE
{ file.  If neither a NOS/170 direct or indirect permanent file of the
{ specified name exists in the catalog, a direct access permanent file
{ is created.
{
{      A prior LINK_USER command identifies the NOS/170 family to which the
{ file belongs as well as the user's accounting and user identification
{ information needed to access the family and file.  RHP$REPLACE will
{ generate NOS/170 REPLACE or ATTACH commands using these values to gain
{ access to the NOS/170 file.
{
{           RHP$REPLACE (FROM_LOCAL_FILE, TO_PERMANENT_FILE,
{             CONVERSION, USER_NAME, PASSWORD, STATUS)
{
{ FROM_LOCAL_FILE: (input) This parameter specifies the NOS/VE file
{           to be copied into a NOS/170 file.
{
{ TO_PERMANENT_FILE: (input) This parameter specifies the name of
{           the NOS/170 file to be replaced or created.  This is
{           the permanent file name as registered in the NOS/170
{           file system and can be up to 7-characters in length.
{
{ CONVERSION: (input) This parameter specifies the type of conversion
{           to be done during the file copy.  The conversion options
{           are:
{
{           amc$bcd (b60):   The right most 60 bits of each 64-bit C180
{                word are placed into a 60-bit C170 word.  The left
{                most 4-bits of each C180 word are ignored.
{
{           amc$ascii (b56): Contiguous bits from the C180 words are
{                packed into the right most 56 bits of each C170 word.
{                The left most 4-bits of C170 word are set to zero.
{
{           amc$as6 (a6):   Each 8-bit character in the C180 file is
{                converted to 6/12 ASCII representation in the C170 file.
{
{           amc$as8 (a8):   Each 8-bit character in the C180 file is
{                converted to 8/12 ASCII representation in the C170 file.
{
{           amc$dis4 (d64):  Each 8-bit character in the C180 file is
{                converted to display coded according to the 64 character
{                is representation in the C170 file.
{
{           Default is amc$bcd (b60).
{
{ USER_NAME: (input) This parameter specifies the NOS/170 user
{           identification of the owner of the file.  This parameter
{           is only necessary if the file is registered in a catalog
{           belonging to a user whose identification is different
{           than the requesting user's NOS/170 identification.
{
{ PASSWORD: (input) This parameter specifies the NOS/170 file password
{           needed to access the file.  It is only required when the
{           file does not belong to the requesting user.
{
{ STATUS: (output) The status of the request will be returned in this
{           parameter.
{
