Organization: University of California at Santa Barbara
Newsgroups: bit.listserv.appc-l
Date:         Thu, 21 Jan 1993 16:15:34 PST
From:         "Dwight M. McCann" <DWIGHT@UCSBVM.BITNET>
Subject:      Re: APPCDEMO assemble under ESA/370 ??

On Thu, 21 Jan 1993 16:41:24 EST Abdel said:
>1) - Used vmfsetup to access all necessary disks.
>     Added vtamac and vtambld maclibs to DMSVM CNTRL file
>     Used Vmfasm to assemble Appcdemo
>2) - vmfsetup was done with the 3 vm components. CMS, GCS, and CP and
>     every time an attemp was made to assemble APPCDEMO the same assembling
>     error messages occured:
>      -    Undefined symbol for statments containing:
>                 FLS, FLSVMID,
>
>      - Undefined op code for statments containing:
>                 IUCVINI, IUCVCOM, SHOWCB, BASR, BAS,
>
>  The above listed statments must come from somewhere. Isn't BASR and BAS
>  some assemble op code for VM/XA ONLY ??? I do not know. Anyone knows.
>  What should i  do to be able to assemble APPCDEMO. Any MACLIB or MACROS
>  I do not know about. Is there any documentation anywhere that can direct
>  me in assembling APPC Programs ?

Abdel -
   I can't address the implications of VMFSETUP on your system, so I can't
speak to that.  I can make the following observations off the top of my head:

BAS and BASR are XA instructions, which implies that they are also VM/ESA
instructions.  The problem you are having with them is not a function of
operating system, but rather of ASSEMBLER.  You are invoking the assembler
with VMFASM, which I believe invokes the XF (freebie) assembler.  You need
to invoke ASM-H, probably by using VMFHASM.  But this is just a guess, of
course.

The undefined symbol FLS has a comment in the code that it maps GCS
lowcore.  That should suggest that it is a GCS macro, and that FLSVMID
is an element of that mapping.  You need to discover the name and
location of your GCS maclibs and ensure they are available to the
assembler.

The prolog commentary explicitly states that IUCVINI and IUCVCOM are
GCS macros, so solving the FLS problem should solve this group also.

Finally, SHOWCB is a VTAM macro, so you need to ensure that you have
the VTAM maclib containing it available to the assember.  You haven't
yet indicated what level of VM and VTAM you are running.

It may be a touch harsh of me to say so, but it appears to me that you
haven't bothered to read the 165 lines of prolog commentary, nor the
couple of hundred lines of comments that I included.  You avoided
answering my question about whether you had reason to believe that there
was a specific problem with APPCDEMO.  Rather than indicate which MACLIBs
you were referencing, you ask where (on your own system) the MACLIBs you
need are (of their names, which is equivalent) ... who knows?  Many
MACLIBs are release dependent.  See what MACLIBs exist on your system and
look in them for the MACROs and COPY code you need.  You haven't told
us what version of VM and VTAM you are running.

On a softer note, I am aware that you originally asked a very simple
question, "Has anyone successfully run APPCDEMO on ESA?"  And maybe I
should have kept silent since I don't have ESA and have no idea if anyone
else has ever even looked at APPCDEMO!  No one has ever told me that they
successfully created it, added the APPLIDs to VTAM, etc., and ran it!
It serves no useful purpose other than as an exercise, so I don't why
they would.  But I do think that if it is important enough for you to
spend time on it, than you should make a bit more effort to research it.

I will leave further comments and questions to the interested student.

Dwight
Newsgroups: bit.listserv.tech-l