Portal | IBM Manuals | Downloads | Products | Refer | Info | Programs | JCLs | Forum Rules*| Site Map | Mainframe CD 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index
 
Register
 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index FAQ Search Memberlist Usergroups Profile Log in to check your private messages Log in
 
why -1 is moved to the length field?

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CICS
Author Message
sheemashireen

New User


Joined: 19 Feb 2005
Posts: 2

PostPosted: Tue Mar 15, 2005 9:07 pm    Post subject: why -1 is moved to the length field?
Reply with quote

Hello all,
I would like to get the answer for why -1 is moved to the length field in dynamic symbolic cursor positioning technique,why not any other thing?
Please reply.
Back to top
View user's profile Send private message
References
priya

Moderator


Joined: 24 Jul 2003
Posts: 624
Location: Bangalore

PostPosted: Wed Mar 16, 2005 7:12 am    Post subject: Re: why -1 is moved to the length field?
Reply with quote

This question has been asked many times. Search the forum better.
Back to top
View user's profile Send private message
manoj_madhavan
Warnings : 1

New User


Joined: 07 Mar 2005
Posts: 12

PostPosted: Wed Mar 16, 2005 9:31 am    Post subject:
Reply with quote

the name+l field is normally used for specifying the length of its contents or infact the lenght of data being entered to the field....

infact we check the name+l field to see if any value has been enterd into the specified field or not to give out an error condition during appl development..

when a clear command is executed the length field contents are made to 0 where in by default the initial value was -1[without any value].

so inorder to sent the field back to its initial posiotion with cursor control in it..it is given the -1 value.
Back to top
View user's profile Send private message
narena

New User


Joined: 16 Mar 2005
Posts: 20

PostPosted: Wed Mar 16, 2005 3:21 pm    Post subject:
Reply with quote

We move -1 to length field to place the cursor on that filed
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CICS All times are GMT + 6 Hours
Page 1 of 1