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
This topic is locked: you cannot edit posts or make replies. How to move a long alphanumeric data ... lind sh COBOL Programming 8 Mon Dec 05, 2016 7:51 pm
No new posts Updating Cursor row withour using FOR... chandan.inst DB2 15 Tue Nov 08, 2016 11:17 am
No new posts Protection Exception while move 0 to ... Kevin Vaz CICS 10 Tue Oct 18, 2016 4:19 pm
No new posts how to DYNAMICALLY write sort cond to... mohamedmubee COBOL Programming 13 Fri Aug 26, 2016 11:46 pm
This topic is locked: you cannot edit posts or make replies. Alphanumeric to Numeric move on UNIX mistah kurtz COBOL Programming 16 Wed Jul 27, 2016 8:47 pm


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