View previous topic :: View next topic
|
Author |
Message |
Monali Mishra
New User
Joined: 13 Feb 2008 Posts: 6 Location: India
|
|
|
|
I FTP a program executable into a PDS and use the PDS as a load library in my JCL to run the program. Is there a possibility that the load module could have been corrupted while FTP? |
|
Back to top |
|
|
ofer71
Global Moderator
Joined: 27 Dec 2005 Posts: 2358 Location: Israel
|
|
|
|
Sure. I need to make sure that you transfer it as BINARY. Also, when transferring load modules from mainframe to mainframe, I would recommend using XMIT.
O. |
|
Back to top |
|
|
murmohk1
Senior Member
Joined: 29 Jun 2006 Posts: 1436 Location: Bangalore,India
|
|
|
|
Monali,
Corrupted load module... yes when there is a problem with the transmission. |
|
Back to top |
|
|
Monali Mishra
New User
Joined: 13 Feb 2008 Posts: 6 Location: India
|
|
|
|
Yup I have transfered it as Binary only. XMIT can be used from one mainframes system to another mainframes??? I was told it is for diff environments in same mainframes. |
|
Back to top |
|
|
Monali Mishra
New User
Joined: 13 Feb 2008 Posts: 6 Location: India
|
|
|
|
My FTP transfer has no errors. I mean the transfer is always sucessfull and once i open the module in the PDS I can see the program name correctly and rest of it seems like normal compiled program.
Also wanted to confirm that if the mainframes version used by me and the place where the program was compiled is different, will the load module be correctly read in my mainframes???
I get ABEND 806 with reason code 04 when I use the FTPed load module. |
|
Back to top |
|
|
ofer71
Global Moderator
Joined: 27 Dec 2005 Posts: 2358 Location: Israel
|
|
|
|
I use XMIT to unload load-modules from one mainframe to my PC, then upload it to another mainframe, with no problems...
O. |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
Quote: |
I get ABEND 806 with reason code 04 when I use the FTPed load module. |
Does your program issue any calls to other programs ?
And what does the manual tell you about S806-04 |
|
Back to top |
|
|
Monali Mishra
New User
Joined: 13 Feb 2008 Posts: 6 Location: India
|
|
|
|
The suggested solution is to rebuild and rerun the program. But i do not have the source code of the progam to compile and rerun. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello Monali Mishra and welcome to the forums,
I'd suggest that you verify that your receiving pds is properly defined as a load library (you can check this pds against some other loadlib).
When you execute this ftp'ed program, this pds must be named in your joblib/steplib (if the pds is not part of the "link list").
If you look more closely at the 806-04, you should see that the diagnostic info includes somethng like "REQUESTED MODULE . . . NOT FOUND".
You do not need the source. |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
expat wrote: |
Quote: |
I get ABEND 806 with reason code 04 when I use the FTPed load module. |
Does your program issue any calls to other programs ?
And what does the manual tell you about S806-04 |
Hence my previous reply |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Yup, we'll see what feedback is posted. . .
d |
|
Back to top |
|
|
Monali Mishra
New User
Joined: 13 Feb 2008 Posts: 6 Location: India
|
|
|
|
Hi,
Thank you for the information. But I have verified with a production loadlib all the DCB parameters of the loadlib created by me. I have also verified that the loadlib created by me is given in the STEPLIB of the job. In the SPOOL output I see that it is trying to search the module in the loadlib specified by me and still it does not find the module.
I am at my wits end as to what should be done next. |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
Was the module not found the same one as you are executing by specification on the
EXEC PGM= ......
Please post the output messages and JCL to help us help you |
|
Back to top |
|
|
Monali Mishra
New User
Joined: 13 Feb 2008 Posts: 6 Location: India
|
|
|
|
Hi All,
I recently got an update that I should be using TSO RECEIVE to get the modules into my mainframes.
Can any one help me with how I can XMIT the Load modules from my PC into the mainframes. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
It sounds like someone there has you running around in circles. . .
How did a mianframe executable get onto your pc?
You still have not posted the diagnostic info and jcl that was requested. |
|
Back to top |
|
|
|