🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.asm370
Article #1039

Re: ICM - Set Condition Code?

#1039
From: Bill Lynch
Date: Sat, 13 Jun 1998 00:00
33 lines
2022 bytes
Bal Oberoi wrote:
> 
> In the context of checking a field for possible binary zeros:
> Bill Lynch wrote:
> 
> > <snip> I suspect I stopped using [NC] when I started coding CICS
> > command-level. I think it's much neater & more readable to code:
> >
> >         ICM   COMMAREA_BASE,15,EIBCALEN
> >         BZ    NO_COMMAREA
> >         USING COMMAREA,COMMAREA_BASE
> >         ...
> >
> > where "COMMAREA_BASE" is equated to a GPR.
> >
> 
> That's certainly an improvement!  Just a typo that needs correction.
> 
> For the benefit of folks who don't do much CICS coding in Assembler, it
> ought to be pointed out that EIBCALEN is a halfword field that holds
> the *length* of CommArea. In coding the above example the field you had
> in mind was doubtless DFHEICAP, a fullword field with the *address* of
> the Communication Area.

You're right, of course, Bal. I have *got* to stop typing examples from
memory - mine (at least) seems to be fading. If I want to test EIBCALEN
for zero/nonzero, then "ICM" should have a mask of "7", not "15", plus
using the length of the COMMAREA as its base address is a particularly
bad idea, much better to use the address in DFHEICAP.

Sorry for any confusion I may have caused,
Bill Lynch
Technical Details
Message-ID: <6lv4v3$k4c@bgtnsc02.worldnet.att.net>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <35813ff8.1615673@news.apk.net> <MPG.feb3b9a787605e59896a1@news.erols.com> <6ls0qo$152@ux.cs.niu.edu> <6lsnq3$4p3@bgtnsc03.worldnet.att.net> <35829FD1.599A@ibm.net>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10f713,61b6316cd59f6c3a
X-Google-Attributes: gid10f713,public
X-Google-Thread: f8131,288e8e2a40517644
X-Google-Attributes: gidf8131,public
From: Bill Lynch <wblynch@worldnet.att.net>
Subject: Re: ICM - Set Condition Code?
Date: 1998/06/13
Message-ID: <6lv4v3$k4c@bgtnsc02.worldnet.att.net>
X-Deja-AN: 362418106
Distribution: inet
Content-Transfer-Encoding: 7bit
References: <35813ff8.1615673@news.apk.net> <MPG.feb3b9a787605e59896a1@news.erols.com> <6ls0qo$152@ux.cs.niu.edu> <6lsnq3$4p3@bgtnsc03.worldnet.att.net> <35829FD1.599A@ibm.net>
Content-Type: text/plain; charset=us-ascii
Organization: AT&T WorldNet Services
Mime-Version: 1.0
Newsgroups: comp.lang.asm370,bit.listserv.cics-l