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

why -1 is moved to the length field?


IBM Mainframe Forums -> CICS
Post new topic   Reply to topic
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
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
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
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CICS

 


Similar Topics
Topic Forum Replies
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts PARSE Syntax for not fix length word ... JCL & VSAM 7
No new posts Replace Multiple Field values to Othe... DFSORT/ICETOOL 12
No new posts VB to VB copy - Full length reached SYNCSORT 8
No new posts PD not working for unsigned packed JO... DFSORT/ICETOOL 5
Search our Forums:

Back to Top