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

Why we move -1 to set the CURSOR dynamically


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

 


Similar Topics
Topic Forum Replies
No new posts Dynamically pass table name to a sele... DB2 2
No new posts COBOL - Move S9(11)v9(7) COMP-3 to -(... COBOL Programming 5
No new posts How to move the first field of each r... DFSORT/ICETOOL 5
No new posts FD Section to Create FB or Vb File Dy... COBOL Programming 1
No new posts How to move DB2 Installation HLQ DB2 4
Search our Forums:

Back to Top