MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

How to modify ISPF line commands?
Goto page 1, 2  Next
 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> TSO and ISPF
View previous topic :: View next topic  
Author Message
batsaali
Beginner


Joined: 07 Sep 2007
Posts: 18
Topics: 7

PostPosted: Tue Aug 02, 2011 9:26 am    Post subject: How to modify ISPF line commands? Reply with quote

Hello,

My specific case. I need some help with the ISPF line commands while browsing a PDS. For example in the installations that we have if I want to submit a job from a PDS member I just need to type SUB or J like a line command in front of the member while browsing the dataset.
Can anyone please tell me where is this coded and how can I change it?
For example can I somehow prohibit the usage of the J command or modify it's functionality?

Thank you all in advance!
Back to top
View user's profile Send private message
superk
Advanced


Joined: 19 Dec 2002
Posts: 684
Topics: 5

PostPosted: Tue Aug 02, 2011 9:39 am    Post subject: Reply with quote

This isn't really my field of expertise, but I imagine that you'd have to start by examining the source code for that panel. Find where the line commands are defined, and then what command or program is associated with them. Then, find the source of that code and see if it can be modified.

My gut feeling is that, since these are built-in ISPF commands, you probably won't have source code available for you to modify. You'll probably have to replace the IBM code with a version of your own.
Back to top
View user's profile Send private message
batsaali
Beginner


Joined: 07 Sep 2007
Posts: 18
Topics: 7

PostPosted: Tue Aug 02, 2011 10:01 am    Post subject: Reply with quote

I went through the panel. There are no line commands defined inside. I guess they are loaded from somewhere else but no idea from where. bonk Can anyone help?
Back to top
View user's profile Send private message
Nic Clouston
Advanced


Joined: 01 Feb 2007
Posts: 1075
Topics: 7
Location: At Home

PostPosted: Tue Aug 02, 2011 1:53 pm    Post subject: Reply with quote

No idea where they reside but SUBmit is an ISPF command and probably cannot be altered - and should not be. You can create your own SUBmit command and store it in your own PDS concatenated to SYSEXEC. This will override the ISPF command which can still be access by using, I think, the BUILTIN command modifier. J I know nothing about - as far as I am aware it is not an ISPF command so is one of your own establishments additions or belongs to another application. Your support people should know.
_________________
Utility and Program control cards are NOT, repeat NOT, JCL.
Back to top
View user's profile Send private message
batsaali
Beginner


Joined: 07 Sep 2007
Posts: 18
Topics: 7

PostPosted: Tue Aug 02, 2011 2:08 pm    Post subject: Reply with quote

Nic Clouston wrote:
No idea where they reside but SUBmit is an ISPF command and probably cannot be altered - and should not be. You can create your own SUBmit command and store it in your own PDS concatenated to SYSEXEC. This will override the ISPF command which can still be access by using, I think, the BUILTIN command modifier. J I know nothing about - as far as I am aware it is not an ISPF command so is one of your own establishments additions or belongs to another application. Your support people should know.


I am not so interested on altering the SUBMIT command.
I am actually more interested in suppressing the J line command. I am not sure it is local just to my installations. Have you ever tried that command?
Maybe it is common to more installations. I am not sure if it is GSD or IBM standard.
Back to top
View user's profile Send private message
batsaali
Beginner


Joined: 07 Sep 2007
Posts: 18
Topics: 7

PostPosted: Tue Aug 02, 2011 2:10 pm    Post subject: Reply with quote

By the way I know that SUBMIT is a load module in SYS1.CMDLIB. Howerer I still have not found where and how is "J" defined.
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12369
Topics: 75
Location: San Jose

PostPosted: Tue Aug 02, 2011 2:11 pm    Post subject: Reply with quote

Nic Clouston wrote:
J I know nothing about - as far as I am aware it is not an ISPF command so is one of your own establishments additions or belongs to another application. Your support people should know.


Nic Clouston,

J is indeed a "PDF member list command" available to every one. J command Submits the member.

Check the section 1.5.2 here

http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/ISPZRS70/CCONTENTS?

Kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12369
Topics: 75
Location: San Jose

PostPosted: Tue Aug 02, 2011 2:25 pm    Post subject: Reply with quote

batsaali wrote:
By the way I know that SUBMIT is a load module in SYS1.CMDLIB. Howerer I still have not found where and how is "J" defined.


If you are running z/OS 1.9 and higher you can see all command datasets listed using the option 3.16 (ISPF Table Utility)

Kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
batsaali
Beginner


Joined: 07 Sep 2007
Posts: 18
Topics: 7

PostPosted: Tue Aug 02, 2011 3:17 pm    Post subject: Reply with quote

Kolusu thank you very much for your explanation.

Using the 3.16 I browsed every member in my ISPTLIB DD and I found out some very useful commands but I am still out of luck with the J line command.

Is there another place that I can search for that command?
Thank you in advance.
Back to top
View user's profile Send private message
taltyman
JCL Forum Moderator
JCL Forum Moderator


Joined: 02 Dec 2002
Posts: 310
Topics: 8
Location: Texas

PostPosted: Tue Aug 02, 2011 4:28 pm    Post subject: Reply with quote

Are you simply trying to disallow someone from submitting a member from browse or view? If so then the TSO ISPCCONF ISPF configurator can be used to change those settings. You must be aware of the implications first. Here is a cut paste.
Code:

                       Modify PDF Configuration Settings                     
 Command ===>                                                               
                                                                    More:   -
   Volume for Migrated Data Sets  . . . . . MIGRAT                           
   Delete Command for Migrated Data Sets    HDELETE                         
   Allowed Allocation Units . . . . . . . . ANY                             
   Maximum IEBCOPY Return Code  . . . . . . 0                               
   Pathname Substitution Character  . . . . !                               
                                                                             
   Enter "/" to select option                                               
      Allocate Before Uncatalog                                             
   /  Verify Expiration Dates                                               
   /  Use SuperC Program Interface                                           
      Monitor Edit Macro Commands via the Activity Monitoring Exit           
   /  Allow SUBMIT from Browse                                               
   /  Allow SUBMIT from View                                                 
   /  Warn when rename target could be a GDG                                 
   /  Default Edit/Browse/View member list from Option 3.4                   
   /  Enable View                                                           
      Use Panel ISRTSOA in Option 6                                         
      Print using ICF                                                       
      Disallow wildcards in the high level qualifier for Data Set List       
      Disable all ENQ displays
Back to top
View user's profile Send private message
batsaali
Beginner


Joined: 07 Sep 2007
Posts: 18
Topics: 7

PostPosted: Tue Aug 02, 2011 5:19 pm    Post subject: Reply with quote

Thank you very much taltyman.

Very nice utility. Indeed I managed to suppress the submit command in view or browse mode when I am in the member containing the JCL.
Unfortunately when i use it outside of the member the SUBMIT and J line commands still work Sad.
Maybe I can still use this utility but another option?
Do you know of any other ways I could do that?

Thank you in advance
Back to top
View user's profile Send private message
papadi
Supermod


Joined: 20 Oct 2009
Posts: 594
Topics: 1

PostPosted: Tue Aug 02, 2011 9:03 pm    Post subject: Reply with quote

Why does someone believe this is wanted/needed?

It sounds like a "people" problem is being mis-managed.

If your management wants this, suggest you ask them to instruct people they are not to do this. And if they continue, they might suffer loss of income or be terminated. Just depends on the management.
_________________
All the best,

di
Back to top
View user's profile Send private message
batsaali
Beginner


Joined: 07 Sep 2007
Posts: 18
Topics: 7

PostPosted: Wed Aug 03, 2011 5:07 am    Post subject: Reply with quote

papadi wrote:
Why does someone believe this is wanted/needed?

It sounds like a "people" problem is being mis-managed.

If your management wants this, suggest you ask them to instruct people they are not to do this. And if they continue, they might suffer loss of income or be terminated. Just depends on the management.


It is not requested by my management.
A colleague asked me if this was possible so now I am trying do dig out how to.
Unfortunately my knowledge on the topic is insufficient so I was hoping for some professional help from this forum. I've used the forum before and most of the cases this is the only place with the right answers.
Back to top
View user's profile Send private message
John_Deal
Beginner


Joined: 04 Sep 2003
Posts: 15
Topics: 1

PostPosted: Wed Aug 03, 2011 9:25 am    Post subject: Reply with quote

You can't turn it off... It is an integral part of ISPF...
8)
_________________
Life is a journey; enjoy the trip!
Back to top
View user's profile Send private message
batsaali
Beginner


Joined: 07 Sep 2007
Posts: 18
Topics: 7

PostPosted: Thu Aug 04, 2011 1:36 pm    Post subject: Reply with quote

I am sure there is nothing impossible. I just haven't found the right answer yet....
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> TSO and ISPF All times are GMT - 5 Hours
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group