|
IDS Forum
Re: onload error
Posted By: Rajib Sarkar Date: Friday, 27 May 2005, at 6:04 p.m.
In Response To: onload error (Susana Barea)
--0__=88BBFA9DDFEB0C338f9e8a93df938690918c88BBFA9DDFEB0C33 Content-type: multipart/related; Boundary="1__=88BBFA9DDFEB0C338f9e8a93df938690918c88BBFA9DDFEB0C33"
--1__=88BBFA9DDFEB0C338f9e8a93df938690918c88BBFA9DDFEB0C33 Content-type: multipart/alternative; Boundary="2__=88BBFA9DDFEB0C338f9e8a93df938690918c88BBFA9DDFEB0C33"
--2__=88BBFA9DDFEB0C338f9e8a93df938690918c88BBFA9DDFEB0C33 Content-type: text/plain; charset=ISO-8859-1 Content-transfer-encoding: quoted-printable
Hi Susana, We simply do a read() call on the device provided in the arguments .. s= ince its returning 0 which essentially means it couldn't read anything .. I'= m attaching a C program, which you can compile and check your tape device= to see if this program can seek into the tape. The logic in the program is=
kind of the logic within onload while loading from tape ..
HTH (See attached file: checktape.c)
Thanx much,
Rajib Sarkar Advisory Software Engineer DB2/UDB Regional Advanced Support IBM Data Management Group
From his neck down a man is worth a couple of dollars a day, from his n= eck up he is worth anything that his brain can produce. -- T. Edison
= "Susana Barea" = <sbarea@jus.mendo = za.gov.ar> = To Sent by: ids@iiug.org = forum.subscriber@ = cc iiug.org = Subj= ect onload error [5042] = 05/27/2005 12:42 = PM = = = = =
Hello list, i need help
I need migrate a database from IDS 7.31 ON SCO OPENSERVER 5.0.5 in a PROLIANT 1850 R to a IDS 7.31 on SCO OpenServer 5.0.5 in a IBM x-series=
225.
The Proliant have a DAT 40 DDS 4 and the IBM have a DAT 72 DD5.
On the Proliant i execute onunload -b 1024 -s 12582912 -t /dev/rct0 database On the IBM i execute onload -b 1024 -s 12582912 -t /dev/rct0 -d dbdat datase and recive : "Error reading from tape device Erro No. =3D 0"
I verify de data on the tape with dd an i see all ok. When i do a tar cv8 xx on the Proliant and tar xv8 xx on the IBM, it ex= trat the data fine, then i think that is not problem with the format of DAT = (DD4 vs DDS 5).
I can do ontape and tar in the IBM.
I=B4ll apreciate any idea.
I need use onunload becose the dbexport produce a file grather than 2 g= b and the SCO no support this; and dbexport to tape demand 5 tapes.
Thanks
Susana
=
--2__=88BBFA9DDFEB0C338f9e8a93df938690918c88BBFA9DDFEB0C33 Content-type: text/html; charset=ISO-8859-1 Content-Disposition: inline Content-transfer-encoding: quoted-printable
<html><body> <p>Hi Susana,<br> We simply do a read() call on the device provided in the arguments .. s= ince its returning 0 which essentially means it couldn't read anything = .. I'm attaching a C program, which you can compile and check your tape= device to see if this program can seek into the tape. The logic in the= program is kind of the logic within onload while loading from tape .. = <br> <br> HTH<br> <i>(See attached file: checktape.c)</i><br> <br> Thanx much,<br> <br> Rajib Sarkar<br> Advisory Software Engineer<br> DB2/UDB Regional Advanced Support<br> IBM Data Management Group<br> <br> <br> From his neck down a man is worth a couple of dollars a day, from his n= eck up he is worth anything that his brain can produce. -- T. Edison<br= > <br> <img src=3D"cid:20__=3D88BBFA9DDFEB0C338f9e8a93df938@us.ibm.com" width=3D= "16" height=3D"16" alt=3D"Inactive hide details for "Susana Barea&= quot; <sbarea@jus.mendoza.gov.ar>">"Susana Barea" <s= barea@jus.mendoza.gov.ar><br> <br> <br>
<table width=3D"100%" border=3D"0" cellspacing=3D"0" cellpadding=3D"0">=
<tr valign=3D"top"><td style=3D"background-image:url(cid:30__=3D88BBFA9= DDFEB0C338f9e8a93df938@us.ibm.com); background-repeat: no-repeat; " wid= th=3D"40%"> <ul> <ul> <ul> <ul><b><font size=3D"2">"Susana Barea" <sbarea@jus.mendoza= .gov.ar></font></b><font size=3D"2"> </font><br> <font size=3D"2">Sent by: forum.subscriber@iiug.org</font> <p><font size=3D"2">05/27/2005 12:42 PM</font></ul> </ul> </ul> </ul> </td><td width=3D"60%"> <table width=3D"100%" border=3D"0" cellspacing=3D"0" cellpadding=3D"0">=
<tr valign=3D"top"><td width=3D"1%" valign=3D"middle"><img src=3D"cid:4= 0__=3D88BBFA9DDFEB0C338f9e8a93df938@us.ibm.com" border=3D"0" height=3D"= 1" width=3D"58" alt=3D""><br> <div align=3D"right"><font size=3D"2">To</font></div></td><td width=3D"= 100%"><img src=3D"cid:40__=3D88BBFA9DDFEB0C338f9e8a93df938@us.ibm.com" = border=3D"0" height=3D"1" width=3D"1" alt=3D""><br> <font size=3D"2">ids@iiug.org</font></td></tr>
<tr valign=3D"top"><td width=3D"1%" valign=3D"middle"><img src=3D"cid:4= 0__=3D88BBFA9DDFEB0C338f9e8a93df938@us.ibm.com" border=3D"0" height=3D"= 1" width=3D"58" alt=3D""><br> <div align=3D"right"><font size=3D"2">cc</font></div></td><td width=3D"= 100%"><img src=3D"cid:40__=3D88BBFA9DDFEB0C338f9e8a93df938@us.ibm.com" = border=3D"0" height=3D"1" width=3D"1" alt=3D""><br> </td></tr>
<tr valign=3D"top"><td width=3D"1%" valign=3D"middle"><img src=3D"cid:4= 0__=3D88BBFA9DDFEB0C338f9e8a93df938@us.ibm.com" border=3D"0" height=3D"= 1" width=3D"58" alt=3D""><br> <div align=3D"right"><font size=3D"2">Subject</font></div></td><td widt= h=3D"100%"><img src=3D"cid:40__=3D88BBFA9DDFEB0C338f9e8a93df938@us.ibm.= com" border=3D"0" height=3D"1" width=3D"1" alt=3D""><br> <font size=3D"2">onload error [5042]</font></td></tr> </table>
<table border=3D"0" cellspacing=3D"0" cellpadding=3D"0"> <tr valign=3D"top"><td width=3D"58"><img src=3D"cid:40__=3D88BBFA9DDFEB= 0C338f9e8a93df938@us.ibm.com" border=3D"0" height=3D"1" width=3D"1" alt= =3D""></td><td width=3D"336"><img src=3D"cid:40__=3D88BBFA9DDFEB0C338f9= e8a93df938@us.ibm.com" border=3D"0" height=3D"1" width=3D"1" alt=3D""><= /td></tr> </table> </td></tr> </table> <br> <tt>Hello list, i need help<br> <br> I need migrate a database from IDS 7.31 ON SCO OPENSERVER 5.0.5 in a PR= OLIANT 1850 R to a IDS 7.31 on SCO OpenServer 5.0.5 in a IBM x-series 2= 25.<br> <br> The Proliant have a DAT 40 DDS 4 and the IBM have a DAT 72 DD5.<br> <br> On the Proliant i execute onunload -b 1024 -s 12582912 -t /dev/rct0 dat= abase<br> On the IBM i execute onload -b 1024 -s 12582912 -t /dev/rct0 -d dbdat d= atase and recive : "Error reading from tape device Erro No. =3D 0&= quot;<br> <br> I verify de data on the tape with dd an i see all ok.<br> When i do a tar cv8 xx on the Proliant and tar xv8 xx on the IBM, it ex= trat the data fine, then i think that is not problem with the format of= DAT (DD4 vs DDS 5).<br> <br> I can do ontape and tar in the IBM.<br> <br> I=B4ll apreciate any idea.<br> <br> <br> I need use onunload becose the dbexport produce a file grather than 2 g= b and the SCO no support this; and dbexport to tape demand 5 tapes.<br>=
<br> Thanks<br> <br> Susana<br> <br> <br> </tt><br> </body></html>=
--2__=88BBFA9DDFEB0C338f9e8a93df938690918c88BBFA9DDFEB0C33--
--1__=88BBFA9DDFEB0C338f9e8a93df938690918c88BBFA9DDFEB0C33 Content-type: image/gif; name="graycol.gif" Content-Disposition: inline; filename="graycol.gif" Content-ID: <20__=88BBFA9DDFEB0C338f9e8a93df938@us.ibm.com> Content-transfer-encoding: base64
R0lGODlhEAAQAKECAMzMzAAAAP///wAAACH5BAEAAAIALAAAAAAQABAAAAIXlI+py+0PopwxUbpu ZRfKZ2zgSJbmSRYAIf4fT3B0aW1pemVkIGJ5IFVsZWFkIFNtYXJ0U2F2ZXIhAAA7
--1__=88BBFA9DDFEB0C338f9e8a93df938690918c88BBFA9DDFEB0C33 Content-type: image/gif; name="pic22574.gif" Content-Disposition: inline; filename="pic22574.gif" Content-ID: <30__=88BBFA9DDFEB0C338f9e8a93df938@us.ibm.com> Content-transfer-encoding: base64
R0lGODlhWABDALP/AAAAAK04Qf79/o+Gm7WuwlNObwoJFCsoSMDAwGFsmIuezf///wAAAAAAAAAA AAAAACH5BAEAAAgALAAAAABYAEMAQAT/EMlJq704682770RiFMRinqggEUNSHIchG0BCfHhOjAuh EDeUqTASLCbBhQrhG7xis2j0lssNDopE4jfI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rxUZy8dB8gmAXI/sPvH ESfCwVt5hTgYiqQqtdRNHQIU1PJ33ZqmzgE90OwLaoJcnMop1WiMmgkPHQRIrwgFuNV90A3doNKT mrKIN07AnGcI9BQjhCBN4RfA1qIZnMqorJCogKfGQnxSCDilTVIA0yl5ciTovgLuBDKFUDE9aQcw 9SA+rjSNf9/M1gxrj6VwDTS0IUSElMzBfsj0NFXR2kwsV1A5IF1grLgLL/r1R40BZEnuBWgmQEyb jqRwSAt6bqMCOFkvKFN2GPPkUzIm/SCF8z8pVzpbjVnMsy0vOr1hw3SaSRUhpY09v0z0J1FnwzPl fmh+xl4WtR0zGu24I4KbMQm3lnVu2oNWxI9W/lcyzA+mCKF4DBikxb/+UWtOGRiFP8qEwAayIgIA Ow==
--1__=88BBFA9DDFEB0C338f9e8a93df938690918c88BBFA9DDFEB0C33 Content-type: image/gif; name="ecblank.gif" Content-Disposition: inline; filename="ecblank.gif" Content-ID: <40__=88BBFA9DDFEB0C338f9e8a93df938@us.ibm.com> Content-transfer-encoding: base64
R0lGODlhEAABAIAAAAAAAP///yH5BAEAAAEALAAAAAAQAAEAAAIEjI8ZBQA7
--1__=88BBFA9DDFEB0C338f9e8a93df938690918c88BBFA9DDFEB0C33--
--0__=88BBFA9DDFEB0C338f9e8a93df938690918c88BBFA9DDFEB0C33 Content-type: application/octet-stream; name="=?ISO-8859-1?Q?checktape=2Ec?=" Content-Disposition: attachment; filename="=?ISO-8859-1?Q?checktape=2Ec?=" Content-ID: <10__=88BBFA9DDFEB0C338f9e8a93df938@us.ibm.com> Content-transfer-encoding: base64
I2luY2x1ZGUgPHN0ZGlvLmg+DQojaW5jbHVkZSA8c3lzL3R5cGVzLmg+DQojaW5jbHVkZSA8c3lz L3N0YXQuaD4NCiNpbmNsdWRlIDxzeXMvZXJybm8uaD4NCiNpbmNsdWRlIDx1bmlzdGQuaD4NCiNp bmNsdWRlIDxmY250bC5oPg0KI2luY2x1ZGUgPHN0cmluZy5oPg0KI2luY2x1ZGUgP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mVyIGZvciByYXcgaS9vICovDQoJYWJ1ZmYgPSAoY2hhciAqKSBC VUZGQUxJR04oKGxvbmcpIGJ1ZmZlcik7DQoJbWVtc2V0KGFidWZmLCAwLCBQQUdFU0laRSk7DQoN CgkvKiBSZWFkIHRoZSB0YXBlICovDQoJd2hpbGUoIGJ5dGVzcmVhZCA8IGNvdW50ICl7DQoJcHJp bnRmKCJcblNlZWtpbmcgJWxkIChieXRlcykgaW4gZGV2aWNlICUtcyAuLi4iLCBieXRlc3JlYWQs IGRldmljZSk7DQoJbmJ5dGVzID0gcmVhZChmZCwgYWJ1ZmYsIHN6KTsNCglpZihuYnl0ZXMgPCAw KQ0KCXsNCgkgIHNwcmludGYodG1wX21zZywgIkNvdWxkIG5vdCByZWFkIGZyb20gZGV2aWNlID0g JXMiLCBkZXZpY2UpOw0KCSAgcGVycm9yKHRtcF9tc2cpOw0KCSAgZXhpdCg2KTsNCgl9DQoJaWYo bmJ5dGVzICE9IHN6KQ0KCXsNCgkgIHNwcmludGYodG1wX21zZywgIlJlYWQgJWxkIGJ5dGVzLCBS ZXF1ZXN0ZWQgJWxkIGJ5dGVzIiwgbmJ5dGVzLCBzeik7IA0KCSAgcGVycm9yKHRtcF9tc2cpOw0K CSAgZXhpdCg3KTsNCgl9DQoJYnl0ZXNyZWFkICs9IG5ieXRlczsNCgl9IC8qIGVuZCBvZiB3aGls ZSAqLw0KDQogfQ0KDQogaWYoYnVmZmVyKQ0KICAgZnJlZShidWZmZXIpOw0KIGlmKGFidWZmKQ0K ICAgZnJlZShhYnVmZik7DQoNCiBjbG9zZShmZCk7DQogdGltZSgmc3RpbWUpOw0KIHByaW50Zigi XG5Qcm9ncmFtIEZpbmlzaGVkIGF0OiAlLXNcbiIsIGN0aW1lKCZzdGltZSkpOw0KDQp9DQo=
--0__=88BBFA9DDFEB0C338f9e8a93df938690918c88BBFA9DDFEB0C33--
Messages In This Thread
- onload error
Susana Barea -- Friday, 27 May 2005, at 3:42 p.m.
- RE: onload error
Gustavo Martinez -- Friday, 27 May 2005, at 5:04 p.m.
- Re: onload error
Rajib Sarkar -- Friday, 27 May 2005, at 6:04 p.m.
IDS Forum is maintained by Administrator with WebBBS 5.12.
|
|