MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

DFHMDF Parameters.

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> CICS and Middleware
View previous topic :: View next topic  
Author Message
hemakumarl
Beginner


Joined: 19 Feb 2004
Posts: 7
Topics: 3

PostPosted: Thu Jun 10, 2004 5:51 am    Post subject: DFHMDF Parameters. Reply with quote

Hi,

I am using SDF facility to create maps, The input-output fields are generated with the parameters S,A,C,P,H,V,O .

Please help me out by explaining all the parameters or If there is any link, where we can get detailed descriptions and how to use these all parametres, please let me know.

EG:

* I0
06 MX-EMP-NOS PIC S9(4) COMP.
06 MX-EMP-NOA PIC X.
06 MX-EMP-NOC PIC X.
06 MX-EMP-NOP PIC X.
06 MX-EMP-NOH PIC X.
06 MX-EMP-NOV PIC X.
06 MX-EMP-NOO PIC X.


Thanks and Regards
Hemakumar
_________________
Hemakumar L.
Back to top
View user's profile Send private message Yahoo Messenger
vini
Intermediate


Joined: 12 Jan 2004
Posts: 240
Topics: 48
Location: Maryland

PostPosted: Thu Jun 10, 2004 9:11 am    Post subject: Reply with quote

Those parameters look specific to the Screen you are Designing and I guess they cannot be explained without having a clue of what the screen contains.
For understanding the SDF Basics please read the CICS reference material using Quick Manual Links which you will find on top of this page.
Back to top
View user's profile Send private message
hemakumarl
Beginner


Joined: 19 Feb 2004
Posts: 7
Topics: 3

PostPosted: Fri Jun 11, 2004 5:58 am    Post subject: Reply with quote

Vini,

The map field name is MX-EMP-NO and the all the parametres are generated by SDF. MX-EMP-NOO refers to output field of length one byte. MX-EMP-NOC refers to color of the field on the screen. Eg: MOVE RED TO MX-EMP-NOC results to the color of that field on the screen to RED.

Like this I am looking for description of other fields with parameters S,P,H,V and how to use them.


Thanks
Hemakumar
_________________
Hemakumar L.
Back to top
View user's profile Send private message Yahoo Messenger
vini
Intermediate


Joined: 12 Jan 2004
Posts: 240
Topics: 48
Location: Maryland

PostPosted: Fri Jun 11, 2004 8:56 am    Post subject: Reply with quote

hemakumarl, did you refer to the manual so far Question

It is not clear what your objective is , the DFHMDF is a BMS Macro and what you have listed here is a form of a Cobol Copybook , which are two different things.
If you are using SDF (in practice) you would know that after the Screen Design there is a way to generate the BMS and a corresponding Copybook by which one can refer/modify the Field attributes programatically. These 2 things are made to work in conjunction for a CICS screen to materialise.
Back to top
View user's profile Send private message
Balanim
Beginner


Joined: 29 Jan 2004
Posts: 21
Topics: 8

PostPosted: Tue Jun 22, 2004 4:55 am    Post subject: Reply with quote

Hi Hemakumar,

Sorry for late reply.. in fact i had not seen your request,,

well what you have mentioned is 100 % correct
Quote:
The map field name is MX-EMP-NO and the all the parameters are generated by SDF. MX-EMP-NOO refers to output field of length one byte. MX-EMP-NOC refers to color of the field on the screen. Eg: MOVE RED TO MX-EMP-NOC results to the color of that field on the screen to RED


in the same way
MX-EMP-NOA is an attribute field where u can protect, unprotect or make bright,dark..etc to any field
Like this
Code:
MOVE 'PROT' TO MX-EMP-NOA.


MX-EMP-NOP is for programmed symbols that can be used like this.
example :
Code:
MOVE 'BASE' TO MX-EMP-NOP.  or
MOVE 'PSID' TO MX-EMP-NOP 

where BASE is the default and specifies that the base symbol set is to be used and
PSID specifies a single EBCDIC character, or a hexadecimal code of the form X'nn', that identifies the set of programmed symbols to be used.

MX-EMP-NOH is used for Hilight.
we can use BLINK, REVERSE, UNDERLINE or OFF like this

Code:
MOVE 'BLINK' TO MX-EMP-NOH.

THIS makes the output of this field to blink.

MX-EMP-NOV is for Validation

we can move MUSTFILL , MUSTENTER , TRIGGER or USEREXIT like this

Code:
MOVE 'MUSTFILL' TO MX-EMP-NOV.

Here
MUSTFILL specifies that the field must be filled completely with data. An attempt to move the cursor from the field before it has been filled, or to transmit data from an incomplete field, raises the INHIBIT INPUT condition.
please remember that this validation does not work on all terminals

and this MX-EMP-NOO i think you know well bcos this is very widely used variable used to sent any out put to map.

Hope this helps,

Bala
Back to top
View user's profile Send private message Yahoo Messenger
Balanim
Beginner


Joined: 29 Jan 2004
Posts: 21
Topics: 8

PostPosted: Tue Jun 22, 2004 4:56 am    Post subject: Reply with quote

Hi Hemakumar,

Sorry for late reply.. in fact i had not seen your request,,

well what you have mentioned is 100 % correct
Quote:
The map field name is MX-EMP-NO and the all the parameters are generated by SDF. MX-EMP-NOO refers to output field of length one byte. MX-EMP-NOC refers to color of the field on the screen. Eg: MOVE RED TO MX-EMP-NOC results to the color of that field on the screen to RED


in the same way
MX-EMP-NOA is an attribute field where u can protect, unprotect or make bright,dark..etc to any field
Like this
Code:
MOVE 'PROT' TO MX-EMP-NOA.


MX-EMP-NOP is for programmed symbols that can be used like this.
example :
Code:
MOVE 'BASE' TO MX-EMP-NOP.  or
MOVE 'PSID' TO MX-EMP-NOP 

where BASE is the default and specifies that the base symbol set is to be used and
PSID specifies a single EBCDIC character, or a hexadecimal code of the form X'nn', that identifies the set of programmed symbols to be used.

MX-EMP-NOH is used for Hilight.
we can use BLINK, REVERSE, UNDERLINE or OFF like this

Code:
MOVE 'BLINK' TO MX-EMP-NOH.

THIS makes the output of this field to blink.

MX-EMP-NOV is for Validation

we can move MUSTFILL , MUSTENTER , TRIGGER or USEREXIT like this

Code:
MOVE 'MUSTFILL' TO MX-EMP-NOV.

Here
MUSTFILL specifies that the field must be filled completely with data. An attempt to move the cursor from the field before it has been filled, or to transmit data from an incomplete field, raises the INHIBIT INPUT condition.
please remember that this validation does not work on all terminals

and this MX-EMP-NOO i think you know well bcos this is very widely used variable used to sent any out put to map.

Hope this helps,

Bala
Back to top
View user's profile Send private message Yahoo Messenger
Mike Chantrey
Intermediate


Joined: 10 Sep 2003
Posts: 234
Topics: 1
Location: Wansford

PostPosted: Tue Jun 22, 2004 5:57 am    Post subject: Reply with quote

Quote:

Like this
Code:
MOVE 'PROT' TO MX-EMP-NOA.



This (and the other similar bits of code) don't make sense. You are moving a 4 character literal to the the 1-byte attribute field.
If you were using the standard DFHBMSCA copybook to make the field protected
you would code
Code:

MOVE DFHBMPRO TO MX-EMP-NOA

or if you defined your own working storage one-byte attribute field called PROT (with the value '-') you might code
Code:

MOVE PROT TO MX-EMP-NOA
Back to top
View user's profile Send private message
Balanim
Beginner


Joined: 29 Jan 2004
Posts: 21
Topics: 8

PostPosted: Tue Jun 22, 2004 6:29 am    Post subject: Reply with quote

Hi Mike ,

Quote:

This (and the other similar bits of code) don't make sense. You are moving a 4 character literal to the the 1-byte attribute field.


These bits of code does makes sense when we code and test these things, Very Happy

There is no need to declare these in the working storage, just try any of these ,

Bala Idea
Back to top
View user's profile Send private message Yahoo Messenger
Mike Chantrey
Intermediate


Joined: 10 Sep 2003
Posts: 234
Topics: 1
Location: Wansford

PostPosted: Tue Jun 22, 2004 10:11 am    Post subject: Reply with quote

I still don't see how you fit a 4 character literal into a 1-byte field? I'm not saying it won't compile - it will compile and run but will (in the 'PROT' case) just move the inital 'P' to the 1-byte attribute field. This is not the correct value for a protected field attribute. Depending on the bit patterns involved, it might or might not work, but if it does work, it's just a coincidence and it's still not right.

The only thing I can think of which would make your code correct is if it was run through a specially written preprocessor which spots these 'special' literals and substitutes the correct values.

If you still think this is right and you're not using a custom pre-processor, can you please show me the relevant section of COBOL compiler output with the generated code for the MOVE, e.g. like this bit
Code:

000252                    MOVE EIBTRNID TO WS-LOG-TRAN.     

and this corresponding bit
Code:
 
000252  MOVE                                                                 
    0005C2  D203 A0B3 8008          MVC  179(4,10),8(8)          WS-LOG-TRAN
    0005C8  5820 D160               L    2,352(0,13)             VN=2       
    0005CC  07F2                    BCR  15,2                               

output was generated by the COBOL 2 compiler with the following options in effect:
Code:

Invocation parameters:                                                         
F(W,E),NONUM,LIB,LIST,MAP,NOADV,NOOFF,NOOPT,NOSEQ,APOST,RENT,RES,SSR,TRUNC(BIN),WD(CICS),X

PROCESS(CBL) statements:                                                       
       CBL RENT,RES,NODYNAM,LIB


This will show exactly what is going on...
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> CICS and Middleware All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group