Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

CICS - The value is getting Reset.

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CICS
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    Post subject: CICS - The value is getting Reset.
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    Post subject:
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    Post subject:
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    Post subject:
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    Post subject:
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10202
Location: italy

PostPosted: Fri Dec 30, 2011 2:56 pm    Post subject: Reply to: CICS - The value is getting Reset.
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    Post subject:
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: 7912
Location: Bellevue, IA

PostPosted: Fri Dec 30, 2011 6:14 pm    Post subject:
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    Post subject:
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

Site Director


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

PostPosted: Mon Jan 02, 2012 12:07 pm    Post subject:
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    Post subject: Reply to: CICS - The value is getting Reset.
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

Site Director


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

PostPosted: Tue Jan 03, 2012 11:46 am    Post subject: Reply to: CICS - The value is getting Reset.
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    IBMMAINFRAMES.com Support Forums -> CICS All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts CICS START AND CANCEL blayek CICS 1 Wed Dec 07, 2016 3:27 am
No new posts How does a called pgm know if its cal... Graeme Westerman COBOL Programming 4 Tue Nov 29, 2016 9:25 pm
No new posts CICS Roll back partially - Need to re... dwijadas CICS 4 Wed Nov 16, 2016 4:30 pm
No new posts CICS NEW SIT PARAMETERS CICS BEHAVIOR... Kyle Carroll CICS 0 Fri Nov 04, 2016 11:55 pm
No new posts Single COPY CICS TS datasets and when... Kyle Carroll CICS 2 Tue Oct 11, 2016 9:47 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us