View previous topic :: View next topic
|
Author |
Message |
smaru
New User
Joined: 22 Oct 2008 Posts: 49 Location: India
|
|
|
|
Hi,
When we open a JCL in edit mode, I would want to protect some columns.
for example:
I would want to pass a control card value from JCL to proc as,
2008 11 24
In edit mode, Can I protect (not allowing to edit ) the column '5' and '8'.
I'm sorry, if the question is illogical. |
|
Back to top |
|
|
Terry Heinze
JCL Moderator
Joined: 14 Jul 2008 Posts: 1249 Location: Richfield, MN, USA
|
|
|
|
If a column is low-values (X'00'), edit will skip over that column. That's a very kludgey way of doing it. Maybe if you explain why those columns need to be "protected", someone can offer a better solution. |
|
Back to top |
|
|
Craq Giegerich
Senior Member
Joined: 19 May 2007 Posts: 1512 Location: Virginia, USA
|
|
|
|
Those who don't know the format for the control cards should not be allowed to edit them. Programs should check the control cards for the proper format before using them. Or set up a REX or CLIST for changing the control cards. In my shop control cards are always in a separate library from the JCL so stupid people don't mess up the jcl. |
|
Back to top |
|
|
smaru
New User
Joined: 22 Oct 2008 Posts: 49 Location: India
|
|
|
|
Its been handled programatically, but I am trying to find ways in preventing the abend at the point of entry itself.
Just wanted to know, if there is something existing and I am not aware off. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
If "Its been handled programatically", how/why is ther an abend? What abend is happening?
If we know what problem you are dealing with, we may be able to offer better suggestions. |
|
Back to top |
|
|
Pedro
Global Moderator
Joined: 01 Sep 2006 Posts: 2547 Location: Silicon Valley
|
|
|
|
You can protect datasets so that they are only updated by certain program.
Display the information using a custom ISPF panel and when the user is done, update the JCL using your special program. |
|
Back to top |
|
|
|