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 Count the length of the record & ... sreekusr DFSORT/ICETOOL 4 Thu Mar 23, 2017 7:52 pm
No new posts SORT VSAM file with each field one by... maxsubrat DFSORT/ICETOOL 6 Tue Mar 14, 2017 1:07 pm
No new posts IMS DB-How to update a record (a sing... Nic Clouston IMS DB/DC 9 Thu Mar 09, 2017 4:38 pm
No new posts outrec field outside range Danielle.Filteau SYNCSORT 10 Sat Mar 04, 2017 2:37 am
No new posts Writing on to GSAM variable length rohanthengal JCL & VSAM 6 Fri Mar 03, 2017 7:46 pm


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