Usenet comp.unix.osf.misc (1992-2004)
 help / color / mirror / Atom feed
From: ron@acs.ryerson.ca (Ron Wigmore)
Subject: ENCINA And "sfsadmin" Command
Date: 3 Mar 1994 22:46:16 GMT	[thread overview]
Message-ID: <2l5pbo$6ld@hermes.acs.ryerson.ca> (raw)


We installed CICS (and DCE/ENCINA) in January.  We have what is
no doubt a "simple administration" problem, but our newness to
these products is making it into a major problem.  With 4 dozen
students waiting on me, I thought I'd try the Network before I
call this into IBM as a "problem".

I cannot get a COBOL program to load data into a file.  The program
gets an "AEIS (incorrect length)" abend when I run it, or a "AEIU
(illogic)" abend if I use "string" instead of "byteArray" in the
definition.  

The programs, etc. are okay when they run on the mainframe, so it is 
most likely that I am not defining things correctly.  The program is
running since, a different section of code in the program, prints out
an "invalid input" message when I enter invalid input.  The problem is
just in the way ENCINA and CICS/(COBOL program) are talking to each
other.

Could someone please tell me what I am doing wrong:

ENCINA definition (a "one line entry" in the actual shell script):

   sfsadmin create clusteredfile VIDCUST 8 CM-CUSTOMER-NUMBER byteArray 7 
            CM-LAST-NAME byteArray 30 CM-FIRST-NAME byteArray 20 CM-ADDRESS
            byteArray 30 CM-CITY byteArray 20 CM-STATE byteArray 2 CM-ZIP-CODE
            byteArray 10 CM-TAPES-OUT byteArray 2 firstindex 1 
            CM-CUSTOMER-NUMBER -unique $VOLNAME

Setting of permissions, etc.:

   acl_edit $ENCINA_SFS_SERVER/VIDCUST -m user:cell_admin:ADEIQRU
   acl_edit $ENCINA_SFS_SERVER/VIDCUST -m user:cics6000/$CICSREGION:ADEIQRU
   acl_edit $ENCINA_SFS_SERVER/VIDCUST -m any_other:ADEIQRU
   acl_edit $ENCINA_SFS_SERVER/VIDCUST -m unauthenticated:ADEIQRU
   echo "Current permissions ..."
   acl_edit $ENCINA_SFS_SERVER/VIDCUST -l

COBOL Program Definition:

       01  CUSTOMER-MASTER-RECORD.
      *
           05  CM-CUSTOMER-NUMBER      PIC 9(7).
           05  CM-LAST-NAME            PIC X(30).
           05  CM-FIRST-NAME           PIC X(20).
           05  CM-ADDRESS              PIC X(30).
           05  CM-CITY                 PIC X(20).
           05  CM-STATE                PIC X(2).
           05  CM-ZIP-CODE             PIC X(10).
           05  CM-TAPES-OUT            PIC S9(4)  COMP.
FD:
   cicsadd -c fd -r <region_name> -B VIDCUST
           BaseName=VIDCUST
           FileServer=(...the default entry)
           IndexName=firstindex 
           OpenStatus=open
           RSLkey=public

The TD/PD/FD's are set correctly since the program does execute, but
then it just abends, complaining about AEIS/AEIU (and a few other abend
codes if I change the record description from "byteArray" to "string"
to "decimal"), etc.

I am too new to DCE/ENCINA/CICS (and still waiting for some manuals to  
arrive) to be able to figure out exactly what the problem is.  I hope
I have included enough information and I hope someone can tell me that
I am missing some simple/easy step.

Thanks in advance for any tips/pointers!

Ron,,,



                 reply	other threads:[~1994-03-03 22:46 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox