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

Skip a field without protecting it?


IBM Mainframe Forums -> CICS
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
david_brahm

New User


Joined: 20 Mar 2007
Posts: 1
Location: Pittsburgh

PostPosted: Thu Oct 25, 2007 7:49 pm
Reply with quote

Do you know if there is a way to make the cursor skip over a field but NOT protect the field? From what I recall ASKIP protects the field and skips over it. Our users want to be able to enter data into the field but only in rare occassions. So they want the cursor to tab right past the field. Then, on the rare occasion that they want to enter something there, they can position their cursor on the field and enter data.

Thanks!
Back to top
View user's profile Send private message
Earl

Active User


Joined: 17 Jun 2007
Posts: 148
Location: oklahoma

PostPosted: Thu Oct 25, 2007 9:12 pm
Reply with quote

they will need to perform a manual TAB keystroke, if they don't
want to enter data.


I suppose you could initially define the field as ASKIP, then on rare
occassions, give them a PF or PA key to hit, that would then unprotect
the field and position cursor to it..
Back to top
View user's profile Send private message
Negi

New User


Joined: 25 Oct 2007
Posts: 5
Location: kolkata

PostPosted: Mon Oct 29, 2007 2:44 pm
Reply with quote

could we use dynamic cursor positioning for this??

so for rare occasions the cobol code will itself place the cursor into the asserted field??
Back to top
View user's profile Send private message
Earl

Active User


Joined: 17 Jun 2007
Posts: 148
Location: oklahoma

PostPosted: Mon Oct 29, 2007 7:36 pm
Reply with quote

yes,

move 'A' to the fldnmeA unprotect the field
move -1 to the fldnmeF position cursor

exec cics send map('xxxx') mapset('xxxx')
dataonly cursor end-exec.
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 Replace Multiple Field values to Othe... DFSORT/ICETOOL 12
No new posts Join 2 files according to one key field. JCL & VSAM 3
No new posts How to move the first field of each r... DFSORT/ICETOOL 5
No new posts S0C7 - Field getting overlayed COBOL Programming 2
No new posts Masking variable size field - min 10 ... DFSORT/ICETOOL 4
Search our Forums:

Back to Top