OSI/FTAM Programming Reference Manual

NonStop FTAM Programming Examples
HP NonStop OSI/FTAM Programming Reference Manual528611-001
G-125
Example 2 in C—Moving a File Between Two
Remote Systems (in Wait Mode)
739
740 /*******************************************************************/
741 /* Set file availability and future filesize to ZAPS_VAL_TRUE. */
742 /*******************************************************************/
743
744 attr_names.zfileavlblty = ZAPS_VAL_TRUE;
745 attr_names.zfuturefilesize = ZAPS_VAL_TRUE;
746
747 /*******************************************************************/
748 /* Set remaining storage attributes to ZAPS_VAL_FALSE. */
749 /*******************************************************************/
750
751 attr_names.zstorageaccount = ZAPS_VAL_FALSE;
752 attr_names.zcreation = ZAPS_VAL_FALSE;
753 attr_names.zlastmod = ZAPS_VAL_FALSE;
754 attr_names.zlastreadaccess = ZAPS_VAL_FALSE;
755 attr_names.zlastattrmod = ZAPS_VAL_FALSE;
756 attr_names.zcreatorid = ZAPS_VAL_FALSE;
757 attr_names.zlastmodid = ZAPS_VAL_FALSE;
758 attr_names.zlastreaderid = ZAPS_VAL_FALSE;
759 attr_names.zlastattrmodid = ZAPS_VAL_FALSE;
760 attr_names.zfilesize = ZAPS_VAL_FALSE;
761
762 /* security group */
763
764 /*******************************************************************/
765 /* Set access control to ZAPS_VAL_TRUE. */
766 /*******************************************************************/
767
768 attr_names.zaccesscntrl = ZAPS_VAL_TRUE;
769
770 /*******************************************************************/
771 /* Set remaining security attributes to ZAPS_VAL_FALSE. */
772 /*******************************************************************/
773
774 attr_names.zlegalqualif = ZAPS_VAL_FALSE;
775
776
777 /* private attributes group is not supported /*