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
 

 

why -1 is moved to the length field?

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CICS
View previous topic :: :: View next topic  
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

priya

Moderator


Joined: 24 Jul 2003
Posts: 568
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: 18

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
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 INVALID FIELD OR CONSTANT IN SORTOF ?? Ron Klop DFSORT/ICETOOL 8 Wed Jan 11, 2017 3:44 pm
No new posts Performing arithmetic on input field zh_lad DFSORT/ICETOOL 31 Tue Dec 06, 2016 8:04 pm
No new posts Add PD field from 2nd file to PD in 1st Sushant Garje DFSORT/ICETOOL 6 Thu Dec 01, 2016 4:32 pm
No new posts SQZ pipe delimited file with 1 column... Rick Silvers DFSORT/ICETOOL 2 Sun Nov 06, 2016 8:11 pm
No new posts Joinkeys operation when key1 and key2... Susanta DFSORT/ICETOOL 5 Wed Nov 02, 2016 5:35 pm


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