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

Answers were Sorted based on User's Feedback



how to make the entire screen protected. i.e., for example when we design a delete screen before d..

Answer / 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

how to make the entire screen protected. i.e., for example when we design a delete screen before d..

Answer / lu

when u compile a cics program with mapset, u have a copy
DFHMSCA (attribut fields)...If u want to protect or
unprotect ..you use this attribut to your fields...
Correct me if i'm wrong

Is This Answer Correct ?    4 Yes 1 No

how to make the entire screen protected. i.e., for example when we design a delete screen before d..

Answer / rajesh

Take a div tag in absolute position n set display property
to none .Now on any click event set width , height n
display="block" .Also set z-index accordingly .Your screen
will be block in specified width n height area .

Is This Answer Correct ?    2 Yes 4 No

Post New Answer

More CICS Interview Questions

What is temporary storage?

1 Answers   IBM,


What is the use of a TDQ, TSQ?

1 Answers   IBM,


How do you delete Item 3 in a five-item TSQ?

3 Answers   IBM,


Can a program change protected field ?

2 Answers   IBM,


Explain how do you access the records randomly in tsq?

0 Answers  






What is the option that is used to erase all unprotected fields during a SEND MAP operation?

5 Answers   Kanbay,


Can you explain multitasking and multithreading?

0 Answers  


How are VSAM files Read in CICS pgms?

4 Answers   IBM,


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

1 Answers   IBM,


Into which table is the terminal id registered?

2 Answers  


The first step in the development of an application system is the Requirement Analysis(True or False).

1 Answers  


How can you use dynamic calls in cics?

0 Answers  


Categories