Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Protect a section of a line in JCL.

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: Protect a section of a line in JCL.
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    Post subject:
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    Post subject:
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    Post subject:
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

Site Director


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

PostPosted: Tue Nov 25, 2008 3:54 am    Post subject:
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

Senior Member


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

PostPosted: Tue Nov 25, 2008 5:33 am    Post subject: Reply to: Protect a section of a line in JCL.
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    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Count the length of the record & ... sreekusr DFSORT/ICETOOL 4 Thu Mar 23, 2017 7:52 pm
No new posts TSO or command line utility to genera... kishpra JCL & VSAM 3 Thu Mar 09, 2017 1:11 am
No new posts Insert Lines in JCL with Rexx after a... Willy Jensen CLIST & REXX 3 Tue Aug 30, 2016 4:18 pm
No new posts ISREDIT - Position Cursor on the Comm... Tarique Anwer TSO/ISPF 5 Wed Feb 03, 2016 12:44 pm
No new posts Use Edit Line Command Table with ISPF... Mickeydusaor TSO/ISPF 5 Thu Jan 28, 2016 4:52 pm

Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us