IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

BMS have the map which is having 3 fields


IBM Mainframe Forums -> CICS
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
gbhageeradhi

New User


Joined: 04 Jan 2007
Posts: 6
Location: hyderabad

PostPosted: Tue Jun 05, 2007 7:14 pm
Reply with quote

I have the map which is having 3 fields. First field is having the length of 20 and second filed is having the length of 50, and third filed is having the length of 19. Their stating positions are different depending upon requirement. And my requirement is I have to increase the length the first field by 1 byte. And decrease the length of second field by 1 byte and again increase the length of 3rd filed by 1 byte. So if increase the length of first variable and trying to see the output of screen it is not displaying the 2nd filed. I don?t know what is the reason if anyone knows can u please help me on this. Thanks in advance
Back to top
View user's profile Send private message
William Thompson

Global Moderator


Joined: 18 Nov 2006
Posts: 3156
Location: Tucson AZ

PostPosted: Tue Jun 05, 2007 7:27 pm
Reply with quote

I don't think you can do what you want without getting into the internals of BMS.
That is why you can have two maps in one mapset, one for each requirement......
Back to top
View user's profile Send private message
gbhageeradhi

New User


Joined: 04 Jan 2007
Posts: 6
Location: hyderabad

PostPosted: Tue Jun 05, 2007 7:36 pm
Reply with quote

I have sevaral maps in that mapset. but i have to change only one map. below is my new code

* HDNGLT2
HDNGLT2 DFHMDF POS=(6,58),LENGTH=21,INITIAL='TYPE M DAYS O CNF',
ATTRB=(PROT,DRK),COLOR=NEUTRAL
* HDNGLT3
HDNGLT3 DFHMDF POS=(7,1),LENGTH=49,INITIAL='CMD REASN TIME DUR MO
P SR N PROGRAM NAME ',ATTRB=(PROT,DRK),COLOR=NEUTRAL
DFHMDF POS=(7,51),LENGTH=1,ATTRB=(PROT,NORM)
* HDNGLT4
HDNGLT4 DFHMDF POS=(7,59),LENGTH=20,INITIAL='AIR B CPX DLAY P CD',
ATTRB=(PROT,DRK),COLOR=NEUTRAL


and old code is........

* HDNGLT2
HDNGLT2 DFHMDF POS=(6,59),LENGTH=20,INITIAL='TYPE DAYS O CNF ', *
ATTRB=(PROT,DRK),COLOR=NEUTRAL
* HDNGLT3
HDNGLT3 DFHMDF POS=(7,1),LENGTH=50,INITIAL='CMD REASN TIME DUR M*
OP SR N PROGRAM NAME ',ATTRB=(PROT, *
DRK),COLOR=NEUTRAL
DFHMDF POS=(7,52),LENGTH=1,ATTRB=(PROT,NORM)
* HDNGLT4
HDNGLT4 DFHMDF POS=(7,60),LENGTH=19,INITIAL='AIR CPX DLAY P CD ', *
ATTRB=(PROT,DRK),COLOR=NEUTRAL



so after making chnages it is not displaying the 'HDNGLT3' filed. so, can u please get the answer if possible.
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Tue Jun 05, 2007 9:42 pm
Reply with quote

Hello,

Might the test run still be using an old copy of the map?
Back to top
View user's profile Send private message
Craq Giegerich

Senior Member


Joined: 19 May 2007
Posts: 1512
Location: Virginia, USA

PostPosted: Tue Jun 05, 2007 10:17 pm
Reply with quote

When you reassemble the map you have to recompile the program and new copy both in CICS.
Back to top
View user's profile Send private message
gbhageeradhi

New User


Joined: 04 Jan 2007
Posts: 6
Location: hyderabad

PostPosted: Wed Jun 06, 2007 10:10 am
Reply with quote

No, i make a new copy everytime i made changes. but i don't know how it is coming like this.
Back to top
View user's profile Send private message
gbhageeradhi

New User


Joined: 04 Jan 2007
Posts: 6
Location: hyderabad

PostPosted: Wed Jun 06, 2007 10:43 am
Reply with quote

if i change the attribute of that field from drk to brt or norm, it is diaplying. but it has to display with output. but it is displaying before itself.means while giving input itself. can anyone knows the reason please help me on this.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CICS

 


Similar Topics
Topic Forum Replies
No new posts Concatenate 2 fields (usage national)... COBOL Programming 2
No new posts Cobol COMP-2 fields getting scrambled... Java & MQSeries 6
No new posts Converting unpacked fields to pack us... SYNCSORT 4
No new posts Data for newly added fields not displ... IMS DB/DC 6
This topic is locked: you cannot edit posts or make replies. SUM FIELDS=NONE in reverse - Get dupl... DFSORT/ICETOOL 9
Search our Forums:

Back to Top