Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

"as" OpenMVS assembler always gives ASMA935U

117 views
Skip to first unread message

Etienne Thijsse

unread,
May 2, 2013, 9:04:53 AM5/2/13
to
Hi All,

I am compiling an assembler source under OpenMVS.
Using the C compiler, this is no problem, I can do

cc -c bla.s

which gives me an object named bla.o.

But the assembler "as" will not do this, it keeps giving me the error
** ASMA935U One or more required files not available

without telling me what file(s) these are.... :-(

The command is (I think):

as -o bla.o bla.s


The reason I want to use "as" instead of cc is that as has the -I option with which you can specify a macro library; I need to use an IMS macro in IMS.SDFSMAC. I have not found any cc option that can do this.
The UNIX System Services Command Reference documents this -I option. But it is lacking an example use of "as".

Thanks,
Etienne

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to list...@listserv.ua.edu with the message: INFO IBM-MAIN

Steve Comstock

unread,
May 2, 2013, 9:17:24 AM5/2/13
to
On 5/2/2013 7:04 AM, Etienne Thijsse wrote:
> Hi All,
>
> I am compiling an assembler source under OpenMVS.
> Using the C compiler, this is no problem, I can do
>
> cc -c bla.s
>
> which gives me an object named bla.o.
>
> But the assembler "as" will not do this, it keeps giving me the error
> ** ASMA935U One or more required files not available
>
> without telling me what file(s) these are.... :-(
>
> The command is (I think):
>
> as -o bla.o bla.s
>
>
> The reason I want to use "as" instead of cc is that as has the -I option with which you can specify a macro library; I need to use an IMS macro in IMS.SDFSMAC. I have not found any cc option that can do this.
> The UNIX System Services Command Reference documents this -I option. But it is lacking an example use of "as".
>
> Thanks,
> Etienne
>

Well there is a default set of maclibs implicit in
the command: the concatenation of CEE.SCEEMAC, SYS1.MACLIB,
SYS1.AMODGEN; perhaps one of these is not available;
you can change the list by exporting a new list in
_AS_MACLIB




--

Kind regards,

-Steve Comstock
The Trainer's Friend, Inc.

303-355-2752
http://www.trainersfriend.com

* To get a good Return on your Investment, first make an investment!
+ Training your people is an excellent investment

* Try our tool for calculating your Return On Investment
for training dollars at
http://www.trainersfriend.com/ROI/roi.html

Etienne Thijsse

unread,
May 2, 2013, 9:26:55 AM5/2/13
to
On Thu, 2 May 2013 07:17:00 -0600, Steve Comstock <st...@TRAINERSFRIEND.COM> wrote:

Those three are all available. And I changed _AS_MACLIB to just IMS.SDFSMAC, there was no change.
I think "as" is complaining about something else... if it would just say which those required files are...

The C compiler does assemble the source, but it doesn't look at _AS_MACLIB; I tried that; it still says "Undefined operation code" on the macro.

Pew, Curtis G

unread,
May 2, 2013, 9:46:18 AM5/2/13
to
On May 2, 2013, at 8:26 AM, Etienne Thijsse <e.th...@CHELLO.NL>
wrote:

> Those three are all available. And I changed _AS_MACLIB to just IMS.SDFSMAC, there was no change.
> I think "as" is complaining about something else... if it would just say which those required files are...
>
> The C compiler does assemble the source, but it doesn't look at _AS_MACLIB; I tried that; it still says "Undefined operation code" on the macro.

Did you try "cc -v bla.s" to see how the C compiler is invoking the assembler?

--
Curtis Pew (c....@its.utexas.edu)
ITS Systems Core
The University of Texas at Austin

Miklos Szigetvari

unread,
May 2, 2013, 9:48:52 AM5/2/13
to
Hi

Never used "as", we are using the c89 to compile assembler modules and
the _C89_SSYSLIB envar can specify the SYSLIB concatenation.
- "man as" gives me a detailed description of the "as" command
- the c89 "-v" option generates the so called "pseudo JCL", maybe
important to see the used files etc
--
Kind regards, / Mit freundlichen Grüßen
Miklos Szigetvari

Research& Development
ISIS Papyrus Europe AG
Alter Wienerweg 12, A-2344 Maria Enzersdorf, Austria
T: +43(2236) 27551 333, F: +43(2236)21081
E-mail: miklos.s...@isis-papyrus.com
Info: in...@isis-papyrus.com Hotline: +43-2236-27551-111
Visit our brand new extended Website at www.isis-papyrus.com
---------------------------------------------------------------
This e-mail is only intended for the recipient and not legally
binding. Unauthorised use, publication, reproduction or
disclosure of the content of this e-mail is not permitted.
This email has been checked for known viruses, but ISIS Papyrus accepts
no responsibility for malicious or inappropriate content.
---------------------------------------------------------------

Steve Comstock

unread,
May 2, 2013, 9:49:59 AM5/2/13
to
On 5/2/2013 7:26 AM, Etienne Thijsse wrote:
> On Thu, 2 May 2013 07:17:00 -0600, Steve Comstock <st...@TRAINERSFRIEND.COM> wrote:
>
> Those three are all available. And I changed _AS_MACLIB to just IMS.SDFSMAC, there was no change.
> I think "as" is complaining about something else... if it would just say which those required files are...
>
> The C compiler does assemble the source, but it doesn't look at _AS_MACLIB; I tried that; it still says "Undefined operation code" on the macro.
>

perhaps adding the verbose option would give more info:

as -o bla.o --verbose bla.s

just a guess.

Etienne Thijsse

unread,
May 2, 2013, 10:06:19 AM5/2/13
to
Great, this works :-)

_C89_SSYSLIB=CEE.SCEEMAC:SYS1.MACLIB:SYS1.MODGEN:IMS.SDFSMAC
export _C89_SSYSLIB
c89 -c bla.s

Thanks!
Etienne

On Thu, 2 May 2013 15:48:43 +0200, Miklos Szigetvari <miklos.s...@ISIS-PAPYRUS.COM> wrote:

> Hi
>
>Never used "as", we are using the c89 to compile assembler modules and
>the _C89_SSYSLIB envar can specify the SYSLIB concatenation.
>- "man as" gives me a detailed description of the "as" command
>- the c89 "-v" option generates the so called "pseudo JCL", maybe
>important to see the used files etc
>
>On 02.05.2013 15:04, Etienne Thijsse wrote:
>> Hi All,
>>
>> I am compiling an assembler source under OpenMVS.
>> Using the C compiler, this is no problem, I can do
>>
>> cc -c bla.s
>>
>> which gives me an object named bla.o.
>>
>> But the assembler "as" will not do this, it keeps giving me the error
>> ** ASMA935U One or more required files not available
>>
>> without telling me what file(s) these are.... :-(
>>
>> The command is (I think):
>>
>> as -o bla.o bla.s
>>
>>
>> The reason I want to use "as" instead of cc is that as has the -I option with which you can specify a macro library; I need to use an IMS macro in IMS.SDFSMAC. I have not found any cc option that can do this.
>> The UNIX System Services Command Reference documents this -I option. But it is lacking an example use of "as".
>>
>> Thanks,
>> Etienne
>>
>> ----------------------------------------------------------------------
>> For IBM-MAIN subscribe / signoff / archive access instructions,
>> send email to list...@listserv.ua.edu with the message: INFO IBM-MAIN
>>
>>
>
>
>--
>Kind regards, / Mit freundlichen Grüßen
>Miklos Szigetvari
>
>Research& Development
>ISIS Papyrus Europe AG
>Alter Wienerweg 12, A-2344 Maria Enzersdorf, Austria
>T: +43(2236) 27551 333, F: +43(2236)21081
>E-mail: miklos.s...@isis-papyrus.com
>Info: in...@isis-papyrus.com Hotline: +43-2236-27551-111
>Visit our brand new extended Website at www.isis-papyrus.com
>---------------------------------------------------------------
>This e-mail is only intended for the recipient and not legally
>binding. Unauthorised use, publication, reproduction or
>disclosure of the content of this e-mail is not permitted.
>This email has been checked for known viruses, but ISIS Papyrus accepts
>no responsibility for malicious or inappropriate content.
>---------------------------------------------------------------
>

Etienne Thijsse

unread,
May 2, 2013, 10:11:19 AM5/2/13
to
It gives some pseudo JCL:

//SYSLIN DD DSN=/path/to/bla.s
//SYSLIB DD DSN=IMS.SDFSMAC
//SYSIN DD DSN=/path/to/bla.s
//SYSTERM DD DSN=/dev/fd2

Maybe its the /dev/fd2 that6 is troublesome....

Anyway, I will use the _C89_SSYSLIB method of the previous poster, that works.

Thanks,
Etienne
>>> ----------------------------------------------------------------------
>>> For IBM-MAIN subscribe / signoff / archive access instructions,
>>> send email to list...@listserv.ua.edu with the message: INFO IBM-MAIN
>>
>> ----------------------------------------------------------------------
>> For IBM-MAIN subscribe / signoff / archive access instructions,
>> send email to list...@listserv.ua.edu with the message: INFO IBM-MAIN
>>
>
>
>--
>
>Kind regards,
>
>-Steve Comstock
>The Trainer's Friend, Inc.
>
>303-355-2752
>http://www.trainersfriend.com
>
>* To get a good Return on your Investment, first make an investment!
> + Training your people is an excellent investment
>
>* Try our tool for calculating your Return On Investment
> for training dollars at
> http://www.trainersfriend.com/ROI/roi.html
>

Steve Comstock

unread,
May 2, 2013, 10:13:44 AM5/2/13
to
On 5/2/2013 8:06 AM, Etienne Thijsse wrote:
> Great, this works :-)
>
> _C89_SSYSLIB=CEE.SCEEMAC:SYS1.MACLIB:SYS1.MODGEN:IMS.SDFSMAC
> export _C89_SSYSLIB
> c89 -c bla.s
>
> Thanks!
> Etienne

Glad you were able to solve your problem. So the analogous
process for 'as' would be:

_AS_MACLIB=CEE.SCEEMAC:SYS1.MACLIB:SYS1.MODGEN:IMS.SDFSMAC
export _AS_MACLIB
as -o bla.o bla.s


would you try this and see if it works?

Thanks.
--

Kind regards,

-Steve Comstock
The Trainer's Friend, Inc.

303-355-2752
http://www.trainersfriend.com

* To get a good Return on your Investment, first make an investment!
+ Training your people is an excellent investment

* Try our tool for calculating your Return On Investment
for training dollars at
http://www.trainersfriend.com/ROI/roi.html

Etienne Thijsse

unread,
May 2, 2013, 10:31:58 AM5/2/13
to
I tried this, it does not work.
The same ASMA935U error occurs. Maybe 'as' itself has configuration issues... I don't know. I'll use c89.

Thanks,
Etienne

Kirk Wolf

unread,
May 2, 2013, 12:17:48 PM5/2/13
to
The doc says:

*ASMA935U* *One* *or* *more* *required* *files* *not* *available*

*Explanation:* The assembler encountered an error when attempting to open a
required file.

*System* *Action:* Before this message is issued, one or more associated
messages are issued that describe which file or files could not be opened.
After this message is issued, the assembly stops.

*Programmer* *Response:* Check the associated message or messages.


So, did you get any other associated messages? If not, it is a bug IMO.
Open a ETR.

Kirk Wolf
Dovetailed Technologies
http://dovetail.com
> >>> Kind regards, / Mit freundlichen Gr��en

Shmuel Metz , Seymour J.

unread,
May 2, 2013, 5:11:24 PM5/2/13
to
In <2588149503609564.WA...@listserv.ua.edu>, on
05/02/2013
at 08:04 AM, Etienne Thijsse <e.th...@CHELLO.NL> said:

>But the assembler "as" will not do this, it keeps giving me the error
> ** ASMA935U One or more required files not available

What messages do you have in your message log?

--
Shmuel (Seymour J.) Metz, SysProg and JOAT
Atid/2 <http://patriot.net/~shmuel>
We don't care. We don't have to care, we're Congress.
(S877: The Shut up and Eat Your spam act of 2003)

Etienne Thijsse

unread,
May 3, 2013, 8:36:41 AM5/3/13
to
Nothing that seems related... some OPERATOR NOW ACTIVE/INACTIVE lines,
D OMVS,PID=584
D OMVS,PID=584
D OMVS,PID=584
D OMVS,PID=16777786

that's it.

Thanks,
Etienne

Scott Ford

unread,
May 3, 2013, 2:59:41 PM5/3/13
to
Etienne.

If this program was Assembled on USS ..Unix System Services ..there should be an output file on disk ....from the assemble and bind

Scott ford
www.identityforge.com
from my IPAD

'Infinite wisdom through infinite means'

Shmuel Metz , Seymour J.

unread,
May 3, 2013, 3:48:40 PM5/3/13
to
In <6536410290697005.WA...@listserv.ua.edu>, on
05/03/2013
at 07:36 AM, Etienne Thijsse <e.th...@CHELLO.NL> said:

>Nothing that seems related... some OPERATOR NOW ACTIVE/INACTIVE
>lines, D OMVS,PID=584
>D OMVS,PID=584
>D OMVS,PID=584
>D OMVS,PID=16777786

That looks like the system log, not the message log for the job.

Scott Ford

unread,
May 3, 2013, 3:55:05 PM5/3/13
to
Shmuel exactly my point also...the output is sitting in a file someplace

Scott ford
www.identityforge.com
from my IPAD

'Infinite wisdom through infinite means'


Kirk Wolf

unread,
May 3, 2013, 3:55:27 PM5/3/13
to
FWIW, when I'm using the z/OS Unix shell, I usually set:

export _BPXK_JOBLOG=STDERR

Etienne Thijsse

unread,
May 6, 2013, 3:11:24 AM5/6/13
to
Thanks, this gives me one extra line:
IEC1301 SYSPUNCH DD STATEMENT MISSING

This looks like some setup or configuration problem to me, since I am not running any JCL...
I'll have to refer this to the system administrator.

There are no other files or logs, as far as I can see, containing any "as" output.

Thanks,
Etienne

Gibney, Dave

unread,
May 6, 2013, 3:44:12 AM5/6/13
to
SYSPUNCH is where it needs to put the object deck.

J R

unread,
May 6, 2013, 7:13:15 AM5/6/13
to
SYSPUNCH is required for the assembler "DECK" option.
SYSLIN is required for the assembler "OBJECT" option.

Since an earlier post of yours mentioned pseudo JCL contained a SYSLIN statement, passing assembler options "NODECK,OBJECT" (in addition to other options that you are already using) may fix your problem.

=
=
> Date: Mon, 6 May 2013 02:11:17 -0500
> From: e.th...@CHELLO.NL
> Subject: Re: "as" OpenMVS assembler always gives ASMA935U
> To: IBM-...@LISTSERV.UA.EDU

Lloyd Fuller

unread,
May 6, 2013, 9:01:47 AM5/6/13
to
Or just specify the "GOFF" (-mGOFF) option which forces OBJECT and is MUCH more
useful when combining things with C.

Lloyd
0 new messages