From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f678f,964eb752da42e74e,start X-Google-Attributes: gidf678f,public X-Google-ArrivalTime: 1994-03-03 14:46:16 PST Path: gmd.de!xlink.net!zib-berlin.de!math.fu-berlin.de!MathWorks.Com!europa.eng.gtefsd.com!howland.reston.ans.net!torn!hermes.acs.ryerson.ca!turing.acs.ryerson.ca!ron From: ron@acs.ryerson.ca (Ron Wigmore) Newsgroups: comp.unix.osf.misc Subject: ENCINA And "sfsadmin" Command Date: 3 Mar 1994 22:46:16 GMT Organization: Ryerson Polytechnic University Message-ID: <2l5pbo$6ld@hermes.acs.ryerson.ca> NNTP-Posting-Host: turing.acs.ryerson.ca X-Newsreader: TIN [version 1.2 PL1] 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 -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,,,