IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

FTP a program executable into a PDS


IBM Mainframe Forums -> All Other Mainframe Topics
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Monali Mishra

New User


Joined: 13 Feb 2008
Posts: 6
Location: India

PostPosted: Thu Feb 14, 2008 10:40 am
Reply with quote

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
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2358
Location: Israel

PostPosted: Thu Feb 14, 2008 11:52 am
Reply with quote

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
View user's profile Send private message
murmohk1

Senior Member


Joined: 29 Jun 2006
Posts: 1436
Location: Bangalore,India

PostPosted: Thu Feb 14, 2008 11:54 am
Reply with quote

Monali,

Corrupted load module... yes when there is a problem with the transmission.
Back to top
View user's profile Send private message
Monali Mishra

New User


Joined: 13 Feb 2008
Posts: 6
Location: India

PostPosted: Thu Feb 14, 2008 11:55 am
Reply with quote

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
View user's profile Send private message
Monali Mishra

New User


Joined: 13 Feb 2008
Posts: 6
Location: India

PostPosted: Thu Feb 14, 2008 12:00 pm
Reply with quote

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
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2358
Location: Israel

PostPosted: Thu Feb 14, 2008 12:17 pm
Reply with quote

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
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Thu Feb 14, 2008 1:03 pm
Reply with quote

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
View user's profile Send private message
Monali Mishra

New User


Joined: 13 Feb 2008
Posts: 6
Location: India

PostPosted: Thu Feb 14, 2008 1:17 pm
Reply with quote

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
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Thu Feb 14, 2008 9:11 pm
Reply with quote

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
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Fri Feb 15, 2008 12:16 am
Reply with quote

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
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Fri Feb 15, 2008 12:39 am
Reply with quote

Yup, we'll see what feedback is posted. . .

d
Back to top
View user's profile Send private message
Monali Mishra

New User


Joined: 13 Feb 2008
Posts: 6
Location: India

PostPosted: Fri Feb 15, 2008 10:36 am
Reply with quote

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
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Fri Feb 15, 2008 4:53 pm
Reply with quote

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
View user's profile Send private message
Monali Mishra

New User


Joined: 13 Feb 2008
Posts: 6
Location: India

PostPosted: Wed Feb 20, 2008 10:38 am
Reply with quote

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
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Wed Feb 20, 2008 8:20 pm
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> All Other Mainframe Topics

 


Similar Topics
Topic Forum Replies
No new posts Using API Gateway from CICS program CICS 0
No new posts DB2 Event passed to the Application P... DB2 1
No new posts How to pass the PARM value to my targ... COBOL Programming 8
No new posts REXX code to expand copybook in a cob... CLIST & REXX 2
No new posts EZT program to build a flat file with... All Other Mainframe Topics 9
Search our Forums:

Back to Top