Page 1 of 1

Question on how BIF DEEDIT works

PostPosted: Tue Oct 09, 2018 7:45 pm
by twenzel18
I have a field that contained XX126.000 (where the X’s are the ‘.’ That are visible on the screen). the user then removed the last zero saying that she used the delete key, making the field (we will call fred) 'XX126.00B' WHERE THE X's are '.' and the B is a blank
This field goes through a BIF DEEDIT:
EXEC CICS BIF DEEDIT
FIELD(FRED)
LENGTH(9)
END-EXEC.

My question is what will Fred come out as '000012600' or '000012600B' (where be is a blank)? And yes, I have googled it, and I could not find the answer that is why I am here.

Re: Question on how BIF DEEDIT works

PostPosted: Tue Oct 09, 2018 8:14 pm
by Robert Sample
One of the examples in the BIF DEEDIT write up from https://www.ibm.com/support/knowledgece ... eedit.html has a nine-byte field that contains a left-justified $25.68 in it; the value returned by BIF DEEDIT is 000002568.

Furthermore, if you actually have had this situation occur, shouldn't you KNOW what the returned result was?

Re: Question on how BIF DEEDIT works

PostPosted: Tue Oct 09, 2018 8:20 pm
by twenzel18
That would make sense, yes, but the problem with that is the user did this a week ago. I was just told about the error yesterday after it had processed through multiple batch and CICS programs so I am trying to follow the trail back to where it started.