Hi
You may first type the command with the long 'fromfile' parameter before you press F4 to prompt the cmd. This will allow you to enter a much longer path ;-)
CPYTOARCF FROMFILE('/your/veeeeeeeeeeeeeeeerrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrryyyyyyyyyyyyyyyyyyyyyyyyyyyy/long/path/name') -> F4
Or use other tools to archive IFS objects like:
* system save commands SAV DEV('/qsys.lib/my.lib/mysavf.file') ...
* with jdk installe -> qsh cmd('java jar -cfM')
* with open source support aktive (PASE and YUM) -> just install zip and unzip and use them with qsh
* there may be other ways
Markus
------------------------------
Markus Neuhold
------------------------------
Original Message:
Sent: Wed April 20, 2022 04:57 AM
From: Avinash Yadav
Subject: Archiving an IFS
Hi Everyone,
Can someone please help me to archive an IFS in IBM i. I use the command CPYTOARCF, but the first parameter (From file or directory) is not allowing me to paste the complete IFS path which is (/vendors/saphanat/interface/ar/data/backup_in) due the the length.
Can someone guide me the step by step process to archive the IFS ?
Thanks
Avinash
------------------------------
Avinash Yadav
------------------------------