MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Need help copying c++ executable from uss to mvs

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Job Control Language(JCL)
View previous topic :: View next topic  
Author Message
zfreeman
Beginner


Joined: 27 Dec 2007
Posts: 3
Topics: 2

PostPosted: Fri Dec 28, 2007 8:24 am    Post subject: Need help copying c++ executable from uss to mvs Reply with quote

Here's my situation:

I have compiled two c++ executables (i.e., one is an exe and the other is a libary file) on the uss (unix) side of my mvs machine. Now I need to copy them from the uss (unix) side to the mvs side into a pre-allocated pdse where they will be staged and executed.

I have done the following so far to copy them from the unix side to mvs. On the unix terminal I typed:

cp -F bin MYEXE "//
Back to top
View user's profile Send private message
semigeezer
Supermod


Joined: 03 Jan 2003
Posts: 1014
Topics: 13
Location: Atlantis

PostPosted: Fri Dec 28, 2007 10:36 am    Post subject: Reply with quote

does -X instead of -F work?
_________________
New members are encouraged to read the How To Ask Questions The Smart Way FAQ at http://www.catb.org/~esr/faqs/smart-questions.html.
Back to top
View user's profile Send private message Visit poster's website
zfreeman
Beginner


Joined: 27 Dec 2007
Posts: 3
Topics: 2

PostPosted: Fri Dec 28, 2007 11:31 am    Post subject: -X works for the exe type file but not the lib type file Reply with quote

Per your suggestion, I tried to copy from unix to my existing MVS pdse via the -X option instead of the -F bin option.

It worked for the exe file.

However for the lib file I got the following error when trying cp -X

IEW2300S 1010 AN ATTEMPT WAS MADE TO INCLUDE THE FOLLOWING CONTROL STATEMENT INTO A WORKMOD WITH ACCESS INTENT: IMPORT CODE,'fd3','__as__10PDF_ObjectFRC10PDF_Object' IEW2304S 1013 AN ATTEMPT WAS MADE TO MERGE MULTIPLE INPUT SOURCES INTO A WORKMOD WITH ACCESS INTENT. cp: FSUMF140 IEWBIND function "INCLUDE" failed with return code 12 and reason code 83000509

And then I tried again to copy the lib file to the pdse with cp -F and got this error:

cp: FSUM6258 cannot open file "//'MY.LOAD.PDSE.HERE(MYLIB)'": EDC5061I An error occurred when attempting to define a file to the system.

I really appreciate the first reply. Thanks, semigeezer. Any idea why I can't copy this lib file over into my mvs pdse?
Back to top
View user's profile Send private message
semigeezer
Supermod


Joined: 03 Jan 2003
Posts: 1014
Topics: 13
Location: Atlantis

PostPosted: Fri Dec 28, 2007 12:01 pm    Post subject: Reply with quote

Well, I do wish I knew. I'm afraid this is far outside my limited USS experience. I did find this (below) but I don't even know what 'control-statement' or 'intent' means here (and unfortunately don't have the time to research it right now). If you do find the error though, please post the explanation of how you solved it.
Code:
IEW2300S AN ATTEMPT WAS MADE TO INCLUDE THE FOLLOWING
CONTROL STATEMENT INTO A
WORKMOD WITH ACCESS INTENT: controlstatement.
Explanation: Control statements may not be included into a
workmod whose INTENT is ACCESS.
Source: Binder
Detecting Module: IEWBINCL
System Action: The control statement is ignored. Processing continues.
User Response: Correct the input.

_________________
New members are encouraged to read the How To Ask Questions The Smart Way FAQ at http://www.catb.org/~esr/faqs/smart-questions.html.
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Job Control Language(JCL) All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group