View previous topic :: View next topic
|
Author |
Message |
Mervyn_das
New User
Joined: 03 Mar 2009 Posts: 7 Location: Bangalore
|
|
|
|
Hi,
I have a question on IMS/DC, I want to know how to use AUTO-SKIP option in IMS/DC and what is the purpose of it.
Thanks,
Mervyn |
|
Back to top |
|
|
Sandy Zimmer
Active Member
Joined: 13 Jun 2007 Posts: 826 Location: Wilmington, DE
|
|
|
|
In all of my years, I never used it. Reading a manual is a good thing, but good practical experience is the best teacher - especially when you have a good mentor. Never make your system overly complex - remember that 98% of the life of a program is maintenance and enhancements. |
|
Back to top |
|
|
Mervyn_das
New User
Joined: 03 Mar 2009 Posts: 7 Location: Bangalore
|
|
|
|
Sandy Zimmer wrote: |
In all of my years, I never used it. Reading a manual is a good thing, but good practical experience is the best teacher - especially when you have a good mentor. Never make your system overly complex - remember that 98% of the life of a program is maintenance and enhancements. |
Hi Sandy,
Many thanks for sharing your views..I want implement auto-skip option..I read manual but it was not useful...It would be gr8 if I come to know how excatly to use it in DFLD.
Thanks,
Mervyn. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
Quote: |
I want implement auto-skip option.. |
If you explain why you want to use this option, someone may have a suggestion.
Quote: |
I read manual but it was not useful... |
Post the bit from the manual that is not clear and someone here may be able to clarify. |
|
Back to top |
|
|
Mervyn_das
New User
Joined: 03 Mar 2009 Posts: 7 Location: Bangalore
|
|
|
|
dick scherrer wrote: |
Hello,
Quote: |
I want implement auto-skip option.. |
If you explain why you want to use this option, someone may have a suggestion.
Quote: |
I read manual but it was not useful... |
Post the bit from the manual that is not clear and someone here may be able to clarify. |
Hi,
Its not that I have picked from any manual, I want to implement this option in live.
The scenario is that a single screen is used to display few field and all other fields are hidden, in another case i need to display the entire screen.
Now the problem I m facing is the cursor is going to protected field, which ideally is not correct.
I hope I am able to explain problem being faced by me.
Thanks,
Mervyn. |
|
Back to top |
|
|
Sandy Zimmer
Active Member
Joined: 13 Jun 2007 Posts: 826 Location: Wilmington, DE
|
|
|
|
You can manipulate the attribytes from your cobol program in your output message. When you define your MFS, you define where the cursor will initially be positioned. |
|
Back to top |
|
|
Sandy Zimmer
Active Member
Joined: 13 Jun 2007 Posts: 826 Location: Wilmington, DE
|
|
|
|
Read this.....specifically this part.....
Take a look at your output message in working storage. The attribute field will be defined immediately BEFORE the data field. Make sure that your output message length is increased if you are adding anything. It is not a good idea to always send maximum message length - it bogs down the system. An attribute bytes is defined in your output area as Pic S9(04) comp.
Set up an 01 level named attribute-byte-values. You will then define the attribute bytes as 05 levels - here are a couple:
05 protect-alpha pic 9(4) comp value 226.
05 unprotect-numeric-mod pic 9(4) comp value 211.
05 unprotect-alpha-mod-curs pic 9(5) comp value 49347.
05 unprotect-num-hi-mod-curs pic 9(5) comp value 49371. |
|
Back to top |
|
|
Sandy Zimmer
Active Member
Joined: 13 Jun 2007 Posts: 826 Location: Wilmington, DE
|
|
Back to top |
|
|
|