I am trying to migrate a library from system A to System B via network.
System A is V5R3M0, system B is V5R4M0 so I SAVELIB into a *SAVF and then
use SNDNETF.
But I get CPF8072 stating that there is a 2 GB limit.
Is it a OS limit, or is there any way to override such a limmit ?
Much easier. I don't know the limit but I transfer many times more than 2GB
between i5's.
See http://faq.midrange.com/data/cache/67.html
Well, I have witten a program long ago wich until now have never reached
such a limmit.
I do understand that in 1.993 2GB were too much, but nowadays it is not for
SNADS ... !!!
My progam uses SNA, it consists of two parts: a daemon in the destiny system
and a set of commands such as SNDNETOBJ and SNDNETLIB in the origin system
wich until now had worked perfectly well.
I also know that there is the SAVRSTOBJ wich forms part of the 5722SS1
option 22 ObjectConnect free part of the OS.
Any way I appreciate the asyncronous manner in wich SNADS work.
I just want to know if there is a way to overrride such an old limit.
And if not supported via SNA, IBM should write something simmilar in order
to transfer objets between systems via TCP using CL commands and not needing
to use the FTP command shell.
Thanks
"Emile" <e...@e.nl> escribió en el mensaje
news:47d287d1$0$10160$e4fe...@dreader18.news.xs4all.nl...
If you have ObjectConnect/400 installed, you could configure a
connection between the two boxes then simply use the SAVRSTLIB command
to save the library from system A and restore it to System B. I'm
sure I've transferred more than 2GB using that method. I cannot lay
my hands on my ObjectConnect notes at the moment, so try a Google
search.
A quick way to check if ObjectConnect is installed is to type
SAVRSTLIB and press F4. If you get the command not found error, then
it's not installed. You'll need to check both systems.
Hope that helps.
"xyzzy" <ukp...@ic24.net> escribió en el mensaje
news:c73c0ea8-50a0-4921...@f47g2000hsd.googlegroups.com...
Thanks
"CENTRINO" <no...@ninelandia.com> escribió en el mensaje
news:fqu3n0$5iu$1...@nsnmpen2-gest.nuria.telefonica-data.net...
I eventually decided FTP was actually a better option, to avoid
[effectively] dual copies at both the source & destination nodes [and as
I understood, also a full copy at each intermediate node]. FTP also
removed the requirement to schedule or react to receipt at the target
side, since I generally know where I want the data to go when it arrives
at its destination, and with FTP the destination of the data has to have
already been decided.
Regards, Chuck
--
All comments provided "as is" with no warranties of any kind
whatsoever and may not represent positions, strategies, nor views of my
employer
CENTRINO wrote:
> Good point ... FTP .... I`ll use it if there is no other chance.
>
> <<SNIP>>
> Anyway I appreciate the asynchronous manner in which SNADS work.
> <<SNIP>>
<code>
on-error cpyf control file to qsysprt and dmpclp
set &corto to reduced number of rows for each send
allocate & open inp file (as savf, just open as 528 rcdlen)
create a file with member CONTROL in file name to be sent:
CRTPF QTEMP/&savfnm MBR(CONTROL) RCDLEN(528) MAXMBRS(2)
set &counter to 000001
set &mbrnm to SAVF *cat &counter
create a member, allocated for the max data:
CHGPF QTEMP/&savfnm SIZE(&corto 00000 0) ALLOCATE(*YES)
ADDPFM QTEMP/&savfnm MBR(&mbrnm)
open control member for output
nextmbr:
cpyf fromfile(&lib/&savfnm) tofile(QTEMP/&savfnm)
fromrcd(((&counter-1) * &corto) + 1) NBRRCDS(&corto)
tombr(&mbrnm)
/* note: cpyf not valid for savf, use another I/O method */
RTVMBRD QTEMP/&savfnm MBR(&mbrnm) nbrcurrcd(&rcdcnt)
record file.member, sender, & nbrrcds by insert into control
sndnetf QTEMP/&savfnm MBR(&mbrnm) TOUSRID((&U &A))
If (&rcdcnt *lt &corto) then(do) /* done */
sndnetf QTEMP/&savfnm MBR(CONTROL) TOUSRID((&U &A))
goto done /* optional */
enddo
else do
clrpfm qtemp/&savfnm &mbrnm
chgvar &oldmbrnm &mbrnm
increment counter
increment member name; e.g. just *cat &counter
RNMM QTEMP/&savfnm &oldmbrnm NEWMBR(&mbrnm)
enddo
done:
DLTF QTEMP/&savfnm
return
</code>
With an automated receiver, either the recipient name or the naming
of the network files would be used to enable knowing when the delivered
file was part of a group. A recipient needed to avoid receiving a file
as part of normal single-file processing, when instead the file needed
to be merged with others. The recipient could receive each control
member into a unique member, and as long as any member remains in that
file, the recipient knows that all of the files named in the records of
each remaining control member were not all available the last time an
attempt was made to receive [& merge]; the wrknetf output(*outfile)
could be used to compare the list against the rows in the control file.
Regards, Chuck
--
All comments provided "as is" with no warranties of any kind
whatsoever and may not represent positions, strategies, nor views of my
employer
CENTRINO wrote:
> <<SNIP>>
> My program uses SNA, it consists of two parts: a daemon in the destiny
> system and a set of commands such as SNDNETOBJ and SNDNETLIB in the
> origin system which until now had worked perfectly well.
>
> <<SNIP>>
>
> And if not supported via SNA, IBM should write something similar in
> order to transfer objects between systems via TCP using CL commands
I´ll take a look to your approach.
"CRPence" <crp...@vnet.ibm.com> escribió en el mensaje
news:47d3165a$1@kcnews01...