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 we move -1 to set the CURSOR dynamically

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CICS
View previous topic :: :: View next topic  
Author Message
eprabinkumar

New User


Joined: 07 Mar 2005
Posts: 1

PostPosted: Mon Mar 07, 2005 9:32 pm    Post subject: Why we move -1 to set the CURSOR dynamically
Reply with quote

hi all,

i am a new user to the site.....

can anyone tell me why we move -1 to the length attribute of the map field,why not zero

prabin :| [/b]
Back to top
View user's profile Send private message

kingofmf

New User


Joined: 02 Mar 2005
Posts: 13
Location: Bangalore

PostPosted: Tue Mar 08, 2005 12:00 am    Post subject: L=-1 for dynamic cursor positioning
Reply with quote

hi prabin,
the reason of your q. is as follows-
Whenever we type something in a field of a physical map,the corredponding L symbolic map element is field with the length,L=0 means it doesn't contains anything,L=-1 means the cursor is positioned on that field. so moving -1 to a L field means to move the cursor to the start of that field in the physical map,this we can do dyanamically in our prog. ie we can dynamically control the position of the cursor fom one field to another field ,
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 Getting -504 Cursor Name GTT-ARTS-CUR... Robin Sulsona DB2 2 Fri Mar 17, 2017 1:43 am
No new posts Release of Adabas Cursor mohitsethi All Other Mainframe Topics 1 Mon Feb 06, 2017 8:36 pm
No new posts DB2 9.1.0 not move values to Host-Var... Miguel Fernandez DB2 8 Wed Jan 25, 2017 8:24 pm
No new posts DB2 9.1.0 not move values to Host-Var... Miguel Fernandez DB2 0 Wed Jan 25, 2017 8:23 pm
No new posts DB2 9.1.0 not move values to Host-Var... Miguel Fernandez DB2 0 Wed Jan 25, 2017 8:21 pm


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