Hard edit in CICS



Support for CICS/ESA, CICS/TS & Transaction Gateway, CICS Configuration Manager and CICS Performance Analyzer

Hard edit in CICS

Postby ashwin1990 » Wed Mar 14, 2012 2:07 pm

Hi all,
I want to know how do we acheive a hard edit in CICS.
Thanks in Advance.
ashwin1990
 
Posts: 32
Joined: Mon Feb 27, 2012 4:44 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Hard edit in CICS

 

Re: Hard edit in CICS

Postby enrico-sorichetti » Wed Mar 14, 2012 2:26 pm

it would be nice if You explained better the meaning of hard edit
cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort
enrico-sorichetti
Global moderator
 
Posts: 2519
Joined: Fri Apr 18, 2008 11:25 pm
Has thanked: 0 time
Been thanked: 120 times

Re: Hard edit in CICS

Postby ashwin1990 » Wed Mar 14, 2012 2:53 pm

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??
ashwin1990
 
Posts: 32
Joined: Mon Feb 27, 2012 4:44 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Hard edit in CICS

Postby Robert Sample » Wed Mar 14, 2012 4:55 pm

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.
Robert Sample
Global moderator
 
Posts: 3126
Joined: Sat Dec 19, 2009 8:32 pm
Location: Bellevue, Iowa
Has thanked: 1 time
Been thanked: 185 times


Return to CICS

 


  • Related topics
    Replies
    Views
    Last post