View previous topic :: View next topic
|
Author |
Message |
Manigandan Aravindhan
New User
Joined: 09 Oct 2007 Posts: 81 Location: India
|
|
|
|
The I variable in BMS will contain null as its default value....how to get space as default?? |
|
Back to top |
|
|
cvishu
Active User
Joined: 31 Jul 2007 Posts: 136 Location: india
|
|
|
|
how about inspect and rplacing all low values by space ? |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
Null values are good in maps ... why get rid of them in the first place? |
|
Back to top |
|
|
Manigandan Aravindhan
New User
Joined: 09 Oct 2007 Posts: 81 Location: India
|
|
|
|
Hi vishu i just need to eliminate only default null values....If user inputs any null value then i need to validate it..... |
|
Back to top |
|
|
Manigandan Aravindhan
New User
Joined: 09 Oct 2007 Posts: 81 Location: India
|
|
|
|
If null values are default then i found it as very difficult in distinguishing between user entered one and default values... |
|
Back to top |
|
|
cvishu
Active User
Joined: 31 Jul 2007 Posts: 136 Location: india
|
|
|
|
i dont get u .. how can a user enter low values ? either he can enter space or leave it blank(in which u get low values) , he cant maully enter low values right ? |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
Are you using the MDT to determine which fields were changed?
And if the user tabs to the field and hits the ERASE EOF key, that will replace the field value with LOW-VALUES. |
|
Back to top |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
maybe with ALT & 000? |
|
Back to top |
|
|
Manigandan Aravindhan
New User
Joined: 09 Oct 2007 Posts: 81 Location: India
|
|
|
|
MDT is set on....But i have even problem in this....
If i enter the value in the map and if i press enter, the map receives the value in the I variable and throws some message in the map and if i again press by not changing the values, then it is not receiving the values again.............. |
|
Back to top |
|
|
Raghu navaikulam
Active User
Joined: 27 Sep 2008 Posts: 193 Location: chennai
|
|
|
|
Hi Manigandan Aravindhan
Quote: |
MDT is set on....But i have even problem in this.... |
Since the data is not received into the map variables after pressing "Enter" key, the MDT is not set ON.
If the MDT is not set ON, no data is going to receive into the map variable. MDT can be set ON by the following methods
1. Code FSET in the Map Macro.
2. Move DFHBMFSE to the mapvariable + A field through the COBOL
program if you are using COBOL program
Eg. iF Map variable in the Macro is EMPNO, then code EMPNOA.
3. "Key in" the data in the map fields.
In your case you have to use the second method since first time you are doing a data entry in the map.
Regards
Raghu |
|
Back to top |
|
|
Manigandan Aravindhan
New User
Joined: 09 Oct 2007 Posts: 81 Location: India
|
|
|
|
Thanks Raghu.
Is there any DFH variable to make MDT on and to hilite the variable? |
|
Back to top |
|
|
Earl Haigh
Active User
Joined: 25 Jul 2006 Posts: 475
|
|
|
|
Quote: |
Is there any DFH variable to make MDT on and to hilite the variable? |
this is all expalined in the CICS Applications Programmer Guide.
in addition, you might try asking your co-workers before posting
entry level questions on this board. |
|
Back to top |
|
|
Manigandan Aravindhan
New User
Joined: 09 Oct 2007 Posts: 81 Location: India
|
|
|
|
Hi Earl Haigh,
I searched in the CICS Application Programmer guide but i couldn't find any variable which will on the MDT for the variable and as well as will hilite the variable. and so i had posted this question. |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
Back to top |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
as Enrico pointed out,
CICS Transaction Server for z/OS Application Programming Reference.
there are many manuals covering CICS.
To develop your craft, you need to read more than one manual. |
|
Back to top |
|
|
Earl Haigh
Active User
Joined: 25 Jul 2006 Posts: 475
|
|
|
|
Hi Manigandan Aravindhan
Sorry if I came off a little harsh, but
back in my early days of learning CICS, there was no internet, or public
forums to post questions, so I spent many a late night reading manuals and performing trial and error test scenarios.
In addition, what you refer to as variables are still known as Fields
to us old timers. |
|
Back to top |
|
|
|