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

Protect a section of a line in JCL.


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
smaru

New User


Joined: 22 Oct 2008
Posts: 49
Location: India

PostPosted: Tue Nov 25, 2008 1:30 am
Reply with quote

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
View user's profile Send private message
Terry Heinze

JCL Moderator


Joined: 14 Jul 2008
Posts: 1249
Location: Richfield, MN, USA

PostPosted: Tue Nov 25, 2008 1:42 am
Reply with quote

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
View user's profile Send private message
Craq Giegerich

Senior Member


Joined: 19 May 2007
Posts: 1512
Location: Virginia, USA

PostPosted: Tue Nov 25, 2008 2:33 am
Reply with quote

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
View user's profile Send private message
smaru

New User


Joined: 22 Oct 2008
Posts: 49
Location: India

PostPosted: Tue Nov 25, 2008 3:05 am
Reply with quote

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
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Tue Nov 25, 2008 3:54 am
Reply with quote

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
View user's profile Send private message
Pedro

Global Moderator


Joined: 01 Sep 2006
Posts: 2547
Location: Silicon Valley

PostPosted: Tue Nov 25, 2008 5:33 am
Reply with quote

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
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 -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts COBOL -Linkage Section-Case Sensitive COBOL Programming 1
No new posts Write line by line from two files DFSORT/ICETOOL 7
No new posts Using Dynamic file handler in the Fil... COBOL Programming 2
No new posts Reading dataset in Python - New Line ... All Other Mainframe Topics 22
No new posts rewrite same SAY line CLIST & REXX 8
Search our Forums:

Back to Top