Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

how to make the entire screen protected. i.e., for example
when we design a delete screen before deleting the details
we need to popup a screen saying do u wish to delete(Y/N).
When this screen appears i want to make the previous screen
fields as protected.Please help me with the anser. i need
the entire screen to be protected.

Thanks in advance

Answer Posted / lenin

I am not sure how to make the entire screen as protected by
a single statement. But we can protect the fields
individully by moving the user defined value to the
attribute field of the fields.

Attribute byte is a 1 byte field, in which the third bit
indicates whether it is protected(1) or unprotected (0) and
for all other fields we can give any of 0 or 1

For Ex: 00100101 ---- if this value is in attribute byte
then the filed is protected we can say, as the third bit is
1.

The decimal value of it(00100101) is 37.

The following program will show you how to move this value
to the attribute byte of the map fields.

01 fiel1 pic s9(4) comp value 37.

01 fiel2 redefines fiel1.
02 a pic x.
02 b pic x.

Move b to nameA. // name field will be protected.

Like this we move b to all the unproteceted fields on the
screen.

Please correct me if i am wrong and provide me the correct
soultion....

Is This Answer Correct ?    5 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the pic clause for the data type of length option field type of data fields?

906


name the command that is used to dump the main storage areas related to a task?

1051


How many ways are there for initiating a transaction?

1014


What is meant by MDT? Furthermore, comment on FRSET and FSET ?

1087


Explain how many exceptional condition can be given in a handle condition?

988


What is the eib parameter?

1008


Can you define ppt and what are its uses?

1021


What is the primary aspect of CICS?

1071


Explain the difference between a package and a plan. How does one bind 2 versions of a cics transaction with the same module name in two different cics regions that share the same db2 subsystem?

1001


Define floating maps with illustration?

968


Can QSAM files be accessed from CICS?

1092


How ENQ and DEQ used in CICS?

1401


What is dynamic transaction backout?

1107


specify the requirements for automatic task initiation. (Mention the control table, it is entries and the corresponding procedure division cics command).?

1114


What is ENQ?

1022