Link to home
Start Free TrialLog in
Avatar of victory_in
victory_in

asked on

MainFrame sFTP issue

Hi Experts,

We have issue in waking up the files in MainFrame. When files are awake this works exacly fine. In MainFrame server when the file goes to sleep mode, this command fails. When issuing command how to wake the file and get it? Please help ASAP.
sftp ${FTP_USER}@${FTP_SERVER}
then 
get get //'temp.OLD(0)' temp

Open in new window

Avatar of giltjr
giltjr
Flag of United States of America image

What do you mean by the files are asleep and awake?  I have never heard of those terms in relationship to files, nor have I heard of them in relationship to z/OS.

Avatar of victory_in
victory_in

ASKER

Since the files are too many they will go in sleep mode to save some memory itseems in MainFrame. I'm not a MainFrame person. Then if you need them u need to wake them up and get them. But my question is there a way to wake them up and get the file from MainFrame to Linux. This is the MainFrame issue files are going into sleep mode. When I issue sFtp COMMAND FROM unix TO MainFrame, it is throwing me an error """file is not located"""" though there is a file, but in sleep mode. How to wake them up and get it into Linux from MainFrame by using SFTP?

Thanks
victor
I have never heard of this "sleep" mode on z/OS before and I have done some searching and I have not found anything even coming close to this.

Were did you get this information from?  Can you point me to some doc?
Hi,

in general, if no one acces the file for 3 or 4 days, it goes to sleep. To wake them up you need to issue the following command.
HRECALL
ASKER CERTIFIED SOLUTION
Avatar of giltjr
giltjr
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial