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

CICS - The value is getting Reset.


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

Active User


Joined: 18 Jan 2010
Posts: 143
Location: Pune

PostPosted: Fri Dec 30, 2011 1:13 pm
Reply with quote

Hi,
Following is my map details:
1. Enter the Dataset name
2. Select any one client of the 16 options.
3. Select an option either to validate the input or just take a backup.

I am facing the situation where the client value is getting reset on below condition:
I enter the correct Date name.
I enter only one client but do not select the option.
SO i get an "ERROR select an option".

After coming to same screen I enter option but this time I am getting "SELECT the client". I am unable to figure out why the client option is getting reset.

Regards,
Krunal Bafna
Back to top
View user's profile Send private message
Binop B

Active User


Joined: 18 Jun 2009
Posts: 407
Location: Nashville, TN

PostPosted: Fri Dec 30, 2011 2:37 pm
Reply with quote

Hi Krunal,
Foremost, it is adviced not to have your mobile numbers posted in public forums.

Quote:
After coming to same screen I enter option but this time I am getting "SELECT the client". I am unable to figure out why the client option is getting reset
Is this a new program coded by you ? or is this some existing code ? Since you are not aware of what is happenning to the code, am going to assume its all already existing functionality that is availble in your location. Get in touch with your collegues/seniors on how to use the particular screen and what you need to type in to make it work..
Back to top
View user's profile Send private message
krunalbafna
Warnings : 1

Active User


Joined: 18 Jan 2010
Posts: 143
Location: Pune

PostPosted: Fri Dec 30, 2011 2:38 pm
Reply with quote

Hi,
Thanks for the advice.

I have coded the map and writing the program newly.
Back to top
View user's profile Send private message
Binop B

Active User


Joined: 18 Jun 2009
Posts: 407
Location: Nashville, TN

PostPosted: Fri Dec 30, 2011 2:50 pm
Reply with quote

krunalbafna wrote:
Hi,
Thanks for the advice.

I have coded the map and writing the program newly.
Okay.. Time to dig in then ..

Queries / Observations .. 1. In your map details, you mentioned three steps out of which the client related is only about selecting only one option out of the sixteen. Later you mention "enter only one client but do not select the option." .. Basically the statements do not match.

Quote:
After coming to same screen I enter option but this time I am getting "SELECT the client". I am unable to figure out why the client option is getting reset.
2. Please explain this statement better .. Since you have re-entered the screen (assuming by typing the transaction again), all options most probably would be reset. Now you have 'entered the option' - and geting an error message - This should purely be cozt you have coded in that way in your program. What inputs are you really expecting from any one of us ?
Back to top
View user's profile Send private message
krunalbafna
Warnings : 1

Active User


Joined: 18 Jan 2010
Posts: 143
Location: Pune

PostPosted: Fri Dec 30, 2011 2:53 pm
Reply with quote

Hi,
I have entered the dataset name and selected one of the 16 clients.
and did not select the option "to sort the input or to copy the input file"

I get an error on the screen : Select either of the option.

Now i select the option to sort the input. now as per the understanding the job should be submitted as the screen has:
1. Dataset name
2. one of the 16 cleint selected
3. Option to do processing of file.

But the error is thrown that select the client. I am not able to get why the value is getting as LOW VALUE when i xped for the client part.
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10833
Location: italy

PostPosted: Fri Dec 30, 2011 2:56 pm
Reply with quote

if nothing was entered in the dataset and client fields
the MDT was not turned on, and nothing was sent back to CICS
Back to top
View user's profile Send private message
krunalbafna
Warnings : 1

Active User


Joined: 18 Jan 2010
Posts: 143
Location: Pune

PostPosted: Fri Dec 30, 2011 3:13 pm
Reply with quote

Hi,
When i am sending the screen back after entering the option "To do processing on input file".
Once i recieve the map - indput dataset is present as it is but for client it is getting low value instead of the value already present on the screen.
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8651
Location: Dubuque, Iowa, USA

PostPosted: Fri Dec 30, 2011 6:14 pm
Reply with quote

krunalbafna, you need to pay attention to what people tell you. Enrico told you, 17 minutes before your post, that you need to set the MDT on the fields you want to keep -- otherwise, since their values did not change they will not be sent to your program a second time.
Back to top
View user's profile Send private message
krunalbafna
Warnings : 1

Active User


Joined: 18 Jan 2010
Posts: 143
Location: Pune

PostPosted: Mon Jan 02, 2012 11:08 am
Reply with quote

I did what enricho has suggested me.
i had query that if my input dataset name what i entered previously is correct read why the issue with getting the client option when i have selected first time.

Do your message suggests I have to manually set the MDT.

Please do no blame unless I am doing wrong Robert.
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: Mon Jan 02, 2012 12:07 pm
Reply with quote

Hello,

If you continue to refuse (or remain unable) to read/understand what you are provided, it is going to be a long year for you. . .


Quote:
Do your message suggests I have to manually set the MDT.


Quote:
Enrico told you, 17 minutes before your post, that you need to set the MDT on the fields you want to keep -- otherwise, since their values did not change they will not be sent to your program a second time.


Quote:
Do your message suggests I have to manually set the MDT.
Yes. And is is much more than a suggestion - as you have seen, without setting the MDT, what you want does not happen.

Quote:
Please do no blame unless I am doing wrong Robert.
Failure to make provided changes is one way of doing wrong. . .
Back to top
View user's profile Send private message
krunalbafna
Warnings : 1

Active User


Joined: 18 Jan 2010
Posts: 143
Location: Pune

PostPosted: Mon Jan 02, 2012 4:58 pm
Reply with quote

Hi,
The problem got resolved.
The issue was FSET being provided in ATTRIB parameter was in Lower case.
I changed to Upper case and it started working
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 Jan 03, 2012 11:46 am
Reply with quote

Good to hear it is now working - thank you for letting us know icon_smile.gif

d
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 CICS region is terminated abnormally ... CICS 2
No new posts Issue with EXEC CICS QUERY SECURITY c... CICS 6
No new posts Debugging not getting triggered throu... CICS 3
No new posts Start CICS transaction every day at 2AM CICS 4
No new posts How can I find the DDname of a file u... CICS 10
Search our Forums:

Back to Top