Page 1 of 1

CICS MAP related

PostPosted: Thu Sep 30, 2010 3:27 pm
by rohitumarjikar
i have a map which has 12 fields defined.
Its an exising map working fine.Now I have interchanged the first and the last field in the map.
Map got compiled with no error.I compiled the program as well with no error in it.
now I have done the new copy for both program and map . and then when i ran the trx I see al the data on the map got misplaced.Data is not displayed correctly on the screen.

So can any one please share the experience,and tell me what could be the reason to it??

Thanks,
Rohit

Re: CICS MAP related

PostPosted: Thu Sep 30, 2010 4:28 pm
by Robert Sample
Obviously, you didn't interchange the fields correctly. The mere fact that a map and program compiled means absolutely nothing as far as correct execution goes -- the successful compile merely means you don't have any syntax errors, not that the logic is correct nor that the map will display correctly.

Re: CICS MAP related

PostPosted: Thu Sep 30, 2010 10:35 pm
by NicC
How did you change the map? just swap the lines over or just change the field name (but not the lengrh) or did you just change the rows and columns? And did you change the stopper bytes for the affected fields?

Re: CICS MAP related

PostPosted: Fri Oct 01, 2010 1:34 am
by dick scherrer
Hello and welcome to the forum,

Data is not displayed correctly on the screen.
Telling us "it didn't work right" is basically a waste of time. For all of us. . .

You need to explain what you want to happen and what actually does happen. It will also help if you explain what you "had" that worked and the current code that does not. You don't need to post all of the code, just the differences.

When you have explained the problem, someome may have a more specific suggestion.

Re: CICS MAP related

PostPosted: Mon Oct 04, 2010 9:21 am
by rohitumarjikar
Thanks for all the suggestions..
See, I have a map which display's the customer data to the user .And if user wants to update it then there are couple of fields which are editable and updates in data base.And i have written the program which was displaying all the fields correctly with the values i exptected.But now I have changed the positions of the fields and then when i executed it with the same input data as before then the screen has some fields populated and some not.So in short the data got missed to some fields.I wanted to know what all reasons could cause such problems.
Hope i have cleared the problem.

Thanks,
Rohit

Re: CICS MAP related

PostPosted: Mon Oct 04, 2010 10:01 am
by dick scherrer
Hello,

Hope i have cleared the problem.
Unfortunately this is just a more elaborate lack of info.

As was asked earlier, for someone to actually help, you need to show a screen that worked (use copy/paste and the Code tag) and a screen with problems (again use copy/paste and the Code tag). There is a preview feature so you can see your post as it will appear to the forum (and will look quite like the terminal).

You have either changed the code, the map, or both incorrectly, but without specifics, no one here can do anything but guess. Show the map defineition for a field that still works and one that fails. SHow the code that uses these fields.

Re: CICS MAP related

PostPosted: Mon Oct 04, 2010 7:57 pm
by mvnavinash
Try by defining a new transaction id to the same program........

Re: CICS MAP related

PostPosted: Tue Oct 05, 2010 9:49 am
by rohitumarjikar
The problem is solved.
Actually, I was using the old load and not the changed load. :) silly but took a lot of time to understand.
Thanks for your responses.

Re: CICS MAP related

PostPosted: Tue Oct 05, 2010 11:02 pm
by dick scherrer
Good to hear it is working - thank you for letting us know :)

d