Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

FTP a program executable into a PDS

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics
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    Post subject: FTP a program executable into a PDS
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: 2360
Location: Israel

PostPosted: Thu Feb 14, 2008 11:52 am    Post subject:
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: 1439
Location: Bangalore,India

PostPosted: Thu Feb 14, 2008 11:54 am    Post subject:
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    Post subject:
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    Post subject:
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: 2360
Location: Israel

PostPosted: Thu Feb 14, 2008 12:17 pm    Post subject:
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: 8593
Location: Back in jolly old England

PostPosted: Thu Feb 14, 2008 1:03 pm    Post subject:
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    Post subject:
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

Site Director


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

PostPosted: Thu Feb 14, 2008 9:11 pm    Post subject:
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: 8593
Location: Back in jolly old England

PostPosted: Fri Feb 15, 2008 12:16 am    Post subject:
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

Site Director


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

PostPosted: Fri Feb 15, 2008 12:39 am    Post subject: Reply to: FTP a program executable into a PDS
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    Post subject:
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: 8593
Location: Back in jolly old England

PostPosted: Fri Feb 15, 2008 4:53 pm    Post subject:
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    Post subject:
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

Site Director


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

PostPosted: Wed Feb 20, 2008 8:20 pm    Post subject:
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    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Writing a file using online program grvtomar PL/I & Assembler 3 Fri Jun 30, 2017 1:06 pm
No new posts pre-compiler for program in an HFS Pedro DB2 0 Fri Jun 23, 2017 11:13 pm
No new posts Compiling program in endeavor for tra... RALAKKAL Compuware & Other Tools 4 Mon Jun 05, 2017 8:27 pm
No new posts COBOL DB2 program - zIIP eligible vasanthz COBOL Programming 7 Wed May 31, 2017 5:12 am
No new posts DB2 Program abending without giving a... rahulgarg14 DB2 7 Mon May 29, 2017 8:10 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us