View previous topic :: View next topic |
Author |
Message |
zfreeman Beginner
Joined: 27 Dec 2007 Posts: 3 Topics: 2
|
Posted: Fri Dec 28, 2007 8:24 am Post subject: Need help copying c++ executable from uss to mvs |
|
|
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 |
|
 |
semigeezer Supermod
Joined: 03 Jan 2003 Posts: 1014 Topics: 13 Location: Atlantis
|
|
Back to top |
|
 |
zfreeman Beginner
Joined: 27 Dec 2007 Posts: 3 Topics: 2
|
Posted: Fri Dec 28, 2007 11:31 am Post subject: -X works for the exe type file but not the lib type file |
|
|
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 |
|
 |
semigeezer Supermod
Joined: 03 Jan 2003 Posts: 1014 Topics: 13 Location: Atlantis
|
Posted: Fri Dec 28, 2007 12:01 pm Post subject: |
|
|
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 |
|
 |
|
|