×
The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.
BTW. CICS is not run on the AS400 computers.
That will be a surprise to a few people :-) You may want to look at product 5722-DFH: IBM CICS® Transaction Server for i5/OS
Bruce
Harold Bearce <hlbearce@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
I believe your logic is flawless. Check your punctuation carefully. BTW. CICS is not run on the AS400 computers.
loravara@xxxxxxxxxxx wrote: I'm a very new CICS programmer, and I'm running into a problem.
I'm trying to compare two data items. Both are PIC X(09). Both will
contain numbers, though.
At one point in the CICS program, I have:
IF ACEMPNOI = WS-COMM-BEGIN
NEXT SENTENCE
ELSE
PERFORM 1100-START-BROWSE THRU 1100-EXIT.
The problem is, the Else branch always triggers when the program reaches
this statement, as though the two data values are different, even when I can
verify that they are not.
ACEMPNOI is the field that receives the account number from the CICS map.
WS-COMM-BEGIN is the field in the DFHCOMMAREA that contains the last
ACEMPNOI that was searched on. I save it to this COMMAREA data item
whenever the program executes a successful STARTBR.
What am I doing wrong here?
Any advice would be appreciated.
Thanks.
Lora
As an Amazon Associate we earn from qualifying purchases.