Page 1 of 1

Hard edit in CICS

PostPosted: Wed Mar 14, 2012 2:07 pm
by ashwin1990
Hi all,
I want to know how do we acheive a hard edit in CICS.
Thanks in Advance.

Re: Hard edit in CICS

PostPosted: Wed Mar 14, 2012 2:26 pm
by enrico-sorichetti
it would be nice if You explained better the meaning of hard edit

Re: Hard edit in CICS

PostPosted: Wed Mar 14, 2012 2:53 pm
by ashwin1990
I have a screen with 3 fileds, say field 1, field2, field3. I have a AID key, say ENTER, which saves the data that i have entered on the screen. Now i enter values in field2 and filed3 and press ENTER. At this time i should get a message saying the filed1 is empty and the data should not be saved. But if the user ignores this warning and presses ENTER again with the same 2 fileds entered, then the data should be saved ino the file with the 1st field values as spaces. Is there any attribute that can be set for the field while defining the map to ensure such functioning??

Re: Hard edit in CICS

PostPosted: Wed Mar 14, 2012 4:55 pm
by Robert Sample
What you are wanting to do REQUIRES program code. There is no attribute, nor combination of attributes, in a map that would support what you want. Either write the code or forget the idea -- your choice.