How do you protect a field from being overlaid?

cics inteview questions

Moderator: Moderator Group

Post Reply
User avatar
Krishna
Site Admin
Posts: 1052
Joined: Fri Jan 27, 2006 7:50 am

How do you protect a field from being overlaid?

Post by Krishna » Sun Jul 19, 2009 9:43 pm

How do you protect a field from being overlaid?

User avatar
MJ
Member
Posts: 15
Joined: Thu Jul 21, 2011 9:29 am

Post by MJ » Thu Jul 21, 2011 9:48 am

Hi,
If I am not misinterpreting your question then the answer would be something like this....

The solution is to use STOPPER field...

STOPPER is an unlabeled 1-byte field with the protect
attribute . therefore , u can define the stopper field as
follows :
DFHMDF POS=( XX , XX ) , ATTRB=PROT, LENGTH=1

u can place the stopper field an unprotected field , as in
the following screen layout ex:

&xxxxxxxxxxxxxxxxxxxx&#
where
#: stopper field

Please feel free to correct me...

Thanks
regards MJ

Post Reply

FREE TUTORIALS

Tutorials
Free tutorials from mainframegurukul
  • JCL Tutorial
    Covers all important JCL concepts.
  • Cobol Tutorial
    This tutorials covers all Cobol Topics from STRING to COMP-3.
  • DB2 Tutorial
    DB2 Tutorial focuses on DB2 COBOL Programming.
  • SORT Tutorial
    This Tutorial covers all important aspects of DFSORT with examples
  • CICS Tutorial
    This CICS tutorial covers CICS concepts and CICS Basics, CICS COBOL Programming.
Interview
Mainframe Interview questions



Other References
Mainframe Tools and others