Skip to main content

alphaWorks  >  Forums  >  JinsightLive for IBM System z  >  developerWorks

Installation problem with Jinsight ZOS environment    Point your RSS reader here for a feed of the latest messages in this thread


     

 
 

My developerWorks
 Welcome, Guest
Sign in or register
Permlink Replies: 8 - Pages: 1 - Last Post: Aug 24, 2009 1:55 PM Last Post By: gmericle Threads: [ Previous | Next ]
Jerry Johnson

Posts: 19
Registered: Dec 21, 2006 11:13:53 AM
Installation problem with Jinsight ZOS environment
Posted: Mar 25, 2008 12:37:04 PM
Click to report abuse...   Click to reply to this thread Reply
I have download the zip file and have successfully done the workstation install. When I FTP'ed with BIN, the TAR file, I end up with a corrupted file. Using the WebSphere Developer for Z, if the view the TAR on my workstation it shows the sub-files. Looking at tar that I FTP'ed into the ZOS HFS using WDZ I get an error that says the "archive is corrupted or unreadable". I tried, using WDZ, copy the sub-files and that seemed to work, I think. However, when I try running a JAVA program using a JVMProfile updated to use Jinsight, I see no sign of Jinsight in the STDERR file. I'm a mainframe sys prog, so my knowledge is pretty limited here. Any help or suggestions would be most appreciated....Jerry
Jerry
Louis.Wilen

Posts: 22
Registered: Feb 11, 2008 12:44:09 PM
Re: Installation problem with Jinsight ZOS environment
Posted: Mar 25, 2008 04:30:29 PM   in response to: Jerry Johnson in response to: Jerry Johnson's post
Click to report abuse...   Click to reply to this thread Reply
I suspect that the file is getting corrupted when you used FTP to send the file to the z/OS system. While we could explore further to find the cause, it's probably quicker to just focus on getting JinsightLive working.

If I understand correctly, you have been successful in getting the JinsightLive files to the z/OS HFS. If not,
could you send the file using just standalone "FTP", in binary, from your workstation to the z/OS HFS?

What is the exact command line that you are using to invoke Java with JinsightLive support? Also, what is your environment? Are you running the Java program under JZOS, under BPXBATCH, in WebSphere Application Server, in CICS, or as a standalone program under the USS shell?

Louis Wilen
IBM Washington Systems Center
Gaithersburg, MD USA
Jerry Johnson

Posts: 19
Registered: Dec 21, 2006 11:13:53 AM
Re: Installation problem with Jinsight ZOS environment
Posted: Mar 25, 2008 06:38:22 PM   in response to: Louis.Wilen in response to: Louis.Wilen's post
Click to report abuse...   Click to reply to this thread Reply
Hi Louis,
We are trying to use Jinsight in a CICS CTS 3.1 environment. However, the problem is that the TAR file seems to get corrupted when I move it from Win system to the ZOS HFS file system. I have used both FTP with "bin" from my work station, and also tried using WebSphere Developer for Z, using the ZOS support in that product. We have never had problems moving other files around like this, but I believe this is the first time we have tried this with a TAR file. I did get files built by expanding the TAR file with WDZ and then doing and copy and paste to the ZOS HFS, but I'm not sure how to verify that these files are any good. When we try to execute a JAVA program in CICS using a JVM profile that is setup to use Jinsight, I see no signs in the STDERR file that Jinsight was invoked. The transaction does run successfully.

Jerry
Louis.Wilen

Posts: 22
Registered: Feb 11, 2008 12:44:09 PM
Re: Installation problem with Jinsight ZOS environment
Posted: Mar 27, 2008 05:27:49 PM   in response to: Jerry Johnson in response to: Jerry Johnson's post
Click to report abuse...   Click to reply to this thread Reply
Jerry,

Let's first confirm if somehow a .tar suffix on a file causes it to be inadvertently translated (and corrupted) even when the file is sent in BINARY mode. Please FTP an ordinary flat text file (that has about 10 lines of readable text in it) from your Windows system to an HFS file on z/OS in BINARY. Then rename the file to filename.tar and FTP it again in BINARY. Then view each file by issuing the following command as a USS shell prompt on the z/OS system, replacing <filename> with the actual filename of the file:

iconv -f ISO8859-1 -t IBM-1047 <filename>

The output should appear identical to the contents of the file as displayed on the Windows system. Please let me know the results.
Jerry Johnson

Posts: 19
Registered: Dec 21, 2006 11:13:53 AM
Re: Installation problem with Jinsight ZOS environment
Posted: Mar 28, 2008 11:07:54 AM   in response to: Jerry Johnson in response to: Jerry Johnson's post
Click to report abuse...   Click to reply to this thread Reply
Hi Louis,
Here is a result of the test. Looks Ok to me...

iconv -f ISO8859-1 -t IBM-1047 ftptest.txt
Test file to check for data corruption when doing FTP
of file that are defined a .tar
1111111111111111111111111111111111111111111111111111111111
2222222222222222222222222222222222222222222222222222222222
3333333333333333333333333333333333333333333333333333333333
444444444444444444444444444444444444444444444444444444444444444
5555555555555555555555555555555555555555555555555555555555555555555
6666666666666666666666666666666666666666666666666666666666666666666666
7777777777777777777777777777777777777777777777777777777777777777777777777
8888888888888888888888888888888888888888888888888888888888888888888888888888
999999999999999999999999999999999999999999999999999999999999999999999999999999
000000000000000000000000000000000000000000000000000000000000000000000000000000000/u/cic61/>
iconv -f ISO8859-1 -t IBM-1047 ftptest.tar
Test file to check for data corruption when doing FTP
of file that are defined a .tar
1111111111111111111111111111111111111111111111111111111111
2222222222222222222222222222222222222222222222222222222222
3333333333333333333333333333333333333333333333333333333333
444444444444444444444444444444444444444444444444444444444444444
5555555555555555555555555555555555555555555555555555555555555555555
6666666666666666666666666666666666666666666666666666666666666666666666
7777777777777777777777777777777777777777777777777777777777777777777777777
8888888888888888888888888888888888888888888888888888888888888888888888888888
999999999999999999999999999999999999999999999999999999999999999999999999999999
000000000000000000000000000000000000000000000000000000000000000000000000000000000/u/cic61/>

Jerry

Jerry Johnson

Posts: 19
Registered: Dec 21, 2006 11:13:53 AM
Re: Installation problem with Jinsight ZOS environment
Posted: Mar 28, 2008 11:12:12 AM   in response to: Jerry Johnson in response to: Jerry Johnson's post
Click to report abuse...   Click to reply to this thread Reply
Sorry, I should have added this, the FTP from my workstation to ZOS.

ftp> put c:/ftptest.txt ftptest.txt
200 Port request OK.
125 Storing data set /u/cic61/ftptest.txt
250 Transfer completed successfully.
ftp: 790 bytes sent in 0.00Seconds 790000.00Kbytes/sec.
ftp> put c:/ftptest.tar ftptest.tar
200 Port request OK.
125 Storing data set /u/cic61/ftptest.tar
250 Transfer completed successfully.
ftp: 790 bytes sent in 0.00Seconds 790000.00Kbytes/sec.

Jerry

Louis.Wilen

Posts: 22
Registered: Feb 11, 2008 12:44:09 PM
Re: Installation problem with Jinsight ZOS environment
Posted: Mar 28, 2008 01:53:14 PM   in response to: Jerry Johnson in response to: Jerry Johnson's post
Click to report abuse...   Click to reply to this thread Reply
Jerry, I'd like to work with you on the phone to get this problem resolved quickly. Could you please email me at wilen@us.ibm.com with your phone number?

After we figure out the cause of the problem, I'll post it here for reference by others in the future.

Thanks.
gmericle

Posts: 2
Registered: Aug 24, 2009 01:54:15 PM
Re: Installation problem with Jinsight ZOS environment
Posted: Aug 24, 2009 01:55:36 PM   in response to: Jerry Johnson in response to: Jerry Johnson's post
Click to report abuse...   Click to reply to this thread Reply
to extract an ASCII tar archive on OS/390, try this:

pax -o to=IBM-1047,from=ISO8859-1 -r < yourfile.tar
gmericle

Posts: 2
Registered: Aug 24, 2009 01:54:15 PM
Re: Installation problem with Jinsight ZOS environment
Posted: Aug 24, 2009 01:55:40 PM   in response to: Jerry Johnson in response to: Jerry Johnson's post
Click to report abuse...   Click to reply to this thread Reply
to extract an ASCII tar archive on OS/390, try this:

pax -o to=IBM-1047,from=ISO8859-1 -r < yourfile.tar

Point your RSS reader here for a feed of the latest messages in all forums