Hello, Can you this little exercise to resolve your issue please.
Step 1. make sure you have either winSCP/core FTP installed on your localhost(i.e. your laptop) Step 2. Create a connection to both Main Server and Client Via either winSCP/core FTP from your laptop Note: For any one you use you will be ask to supply the following: - Site Name e.g. testmainserver - Host/IP/URL i.e. your main server or client IP address - Username (of the Server IP Address) - Password (of the Server IP Address) Step 3: Create a folder in your laptop where you will drop all object codes from Main SERVER Step 4: If you are using coreFTP for your connection make sure you set the mode to "Binary" otherwise you could have the same error. Step 5: Then connect to the main server drag and drop all the object codes from your main server to your localhost. Step 6: Copy what u have in your localhost to the Client end folder where you want the object codes to reside. Note that if folder/directory in Client end is existing before, DECATALOG all the objects and delete all Step 7. Then try to check the permission for all the object codes both ownership/group etc Step 8: CATALOG all the object in the client end now. Withe the above you should be ok. thanks and regards, Godwin On 13 August 2012 05:40, Nandhini Subbarayalu < [email protected]> wrote: > Hi, > > > Please help to solve this issue in transferring object files('$') from one > server to another server which are connected via jRFS and the detailed > information is as below: > > **** ** > > *Description:* > > Object(‘$’) files are corrupted when copying from local system(Unix > platform) to remote system(Unix platform). Connection is established via > jRFS service and the copy command is executed at jbase level(from jbase > prompt).**** > > ** ** > > *Unix system & TAFC release:* > > System Information**** > > ==================**** > > ** ** > > *System : AIX che-aix4 1.6 00F6BD354C00* > > OS Release : 1114A_61N**** > > UNIX User : nsubbara (uid 219, euid 219)**** > > Tty name : /dev/pts/5**** > > Time : Mon Aug 6 11:36:02 2012**** > > ** ** > > Environment**** > > ===========**** > > ** ** > > JBCPORTNO : Not Set**** > > JBCRELEASEDIR : '/opt/tafc9'**** > > JBCGLOBALDIR : '/opt/tafc9'**** > > JEDIFILENAME_SYSTEM : '/opt/tafc9/src/SYSTEM'**** > > SYSTEM File is (DICT) : '/opt/tafc9/src/SYSTEM]D'**** > > *RELEASE Information : Major 09.0 , Minor 0.21 , Patch (Change > 97633)* > > Max open files : 65534**** > > jsh nsubbara ~ -->**** > > ** ** > > *Findings:* > > *Server1* is configured as jrfs server and *Server2* is configured as > jrfs client. A directory *OBJ.DATA* is present in Server1 and in Client > side(Server2) Q pointer is created to point to this directory.OBJ.DATA is > successfully connected via JRFS.**** > > ** ** > > *Case1:* > > *Steps followed* > > *Server1* > > *Server2* > > 1**** > > ** ** > > Compiled and catalogued the routine SAMPLE.RTN**** > > ‘$SAMPLE.RTN’ of TEST.BP has to be copied to Server1.**** > > ** ** > > Jsh->COPY FROM TEST.BP TO OBJ.DATA ‘$SAMPLE.RTN’ OVERWRITING**** > > 2**** > > Jsh->COPY FROM OBJ.DATA TO TEST.BP ‘$SAMPLE.RTN’ OVERWRITING**** > > ** ** > > Jh>CATALOG TEST.BP $SAMPLE.RTN**** > > Catalog fails and seems object file transferred is a corrupted one**** > > ** ** > > ** ** > > *Case 2:* > > *Steps followed* > > *Server1* > > *Server2* > > 1**** > > Compiled and catalogued the routine SAMPLE.RTN**** > > ‘$SAMPLE.RTN’ of TEST.BP has to be copied to Server2.**** > > ** ** > > Jsh->COPY FROM TEST.BP TO OBJ.DATA ‘$SAMPLE.RTN’ OVERWRITING**** > > ** ** > > 2**** > > ** ** > > Jsh->COPY FROM OBJ.DATA TO TEST.BP ‘$SAMPLE.RTN’ OVERWRITING**** > > ** ** > > Jsh->CATALOG TEST.BP $SAMPLE.RTN**** > > Catalog is successful and the original $ file is copied from server1 to > server2.**** > > ** ** > > ** ** > > *Case3:* > > ** ** > > S.No**** > > Server1**** > > Server2**** > > 1**** > > ** ** > > Compiled and catalogued the routine SAMPLE.RTN**** > > ‘$SAMPLE.RTN’ of TEST.BP has to be copied to Server1.**** > > ** ** > > This object code is compressed using unix ‘tar’ comment**** > > Jsh->SH \c tar -cvf - 'TEST.BP/$SAMPLE.RTN' | compress -> > 'TEST.BP/$SAMPLE.RTN_Unix.Z'**** > > ** ** > > Jsh->COPY FROM TEST.BP TO OBJ.DATA ‘$SAMPLE.RTN_Unix.Z’ OVERWRITING**** > > ** ** > > ** ** > > 2**** > > Jsh->COPY FROM OBJ.DATA TO TEST.BP ‘$SAMPLE.RTN_Unix.Z’ OVERWRITING**** > > ** ** > > Untar the compressed ‘$’ file**** > > Jsh->SH \c zcat 'TEST.BP/$SAMPLE.RTN_Unix.Z' | tar -xvf -> log.file **** > > ** ** > > Jsh->CATALOG TEST.BP ‘$SAMPLE.RTN’**** > > Catalog is successful and the original $ file is copied from server1 to > server2.**** > > ** ** > > ** ** > > ** ** > > Tar file copied to a local BP and then decompressed:**** > > Jsh->COPY FROM OBJ.DATA TO TEST.BP ‘$SAMPLE.RTN_Unix.Z’ OVERWRITING**** > > ** ** > > Untar the compressed ‘$’ file**** > > Jsh-> SH \c zcat 'TEST.BP/$SAMPLE.RTN_Unix.Z' | tar -xvf -> log.file**** > > uncompress: 0653-059 The input file contains bad data; SIGSEGV signal > received.**** > > tar: 0511-164 There is a media read or write block size error.**** > > ** ** > > ** ** > > ** ** > > Kindly correct me if my findings are wrong and revert for any further > details. > > > > Many thanks in advance > > > > Regards, > > Nandhini > > -- > -- > IMPORTANT: T24/Globus posts are no longer accepted on this forum. > > To post, send email to [email protected] > To unsubscribe, send email to [email protected] > For more options, visit this group at > http://groups.google.com/group/jBASE?hl=en > > > > -- * Ralph Olapade Mobile: +234 08051144422/08033087434 * -- -- IMPORTANT: T24/Globus posts are no longer accepted on this forum. To post, send email to [email protected] To unsubscribe, send email to [email protected] For more options, visit this group at http://groups.google.com/group/jBASE?hl=en
