View previous topic :: View next topic
|
Author |
Message |
Madhanlal Currently Banned New User
Joined: 21 Apr 2007 Posts: 23 Location: Chennai
|
|
|
|
Hi
I got the following single lined step in my JCL.
//*Some steps here...
//PAP6 EXEC PGM=CMDEXEC,PARM='S CVSCPAP6'
//
Can anyone tell me what this CMDEXEC do?
Also the parm value CVSCPAP6..
FYIThis parm value is defined/ used no where in the JCL. |
|
Back to top |
|
|
ofer71
Global Moderator
Joined: 27 Dec 2005 Posts: 2358 Location: Israel
|
|
|
|
Take a look here.
O. |
|
Back to top |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
CMDEXEC is a program at your site. You must find it and determine what it does.
The parm is 'S CVSCPAP6' and not 'CVSCPAP6' and is used by the pgm CMDEXEC. If a COBOL pgm, it is accessed in the programs linkage section via PROCEDURE DIVISION USING clause. HLASM and C pgms have their own syntax.
Moderators - this qualifies as an interview question for rookies. |
|
Back to top |
|
|
Madhanlal Currently Banned New User
Joined: 21 Apr 2007 Posts: 23 Location: Chennai
|
|
|
|
CMDEXEC - A PROGRAM WHICH TAKES OPERATOR COMMANDS
AS EXECUTE PARMS ISSUES THEM VIA SVC34 . |
|
Back to top |
|
|
shreevamsi
Active User
Joined: 23 Feb 2006 Posts: 305 Location: Hyderabad,India
|
|
|
|
Quote: |
CMDEXEC - A PROGRAM WHICH TAKES OPERATOR COMMANDS
AS EXECUTE PARMS ISSUES THEM VIA SVC34 |
the above explanation is taken from www.bsp-gmbh.com/turnkey/cookbook/cbt249.html.
This must be that shop specific and maynot find else where. |
|
Back to top |
|
|
Madhanlal Currently Banned New User
Joined: 21 Apr 2007 Posts: 23 Location: Chennai
|
|
|
|
Hmm.. S.. U r rite...
But still cant undestand the Usage of CMDEXEC
dbzTHEdinosauer,
Its not user written program i believe... Cud nt find it in PDS (both Steplib & Loadlib) |
|
Back to top |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
Madhan,
First, you have to establish whether the executable module CMDEXEC is indeed the one from the CBT TAPE. If indeed it is, then there may or may not be security issues here (whether or not you are authorized to issue Operator Commands and/or the particular command S something)
you have two keywords here:- OPERATOR COMMANDS
- SVC34
I personnally am not interested in finding out exactly what the command 'S something' accomplishes.
now if you want to see what a SVC34 is you can look at it here . This is a list of all the SVC routines and their descriptions.
if you want to see the 'S' command (which if it is an Operator command) then the doc for the Start command is here
In case it has something to do with BDT (Bulk Data Transfer), you can look here
And as far as this not being a USER written program, there are many, many loadlibs in your system. Some are for IBM, some are for the third party products your shop may have, and some are for the programs that your shop's systems programmers have written. Some of these loadlibs are APF libraries -if you go playing in these, you may receive a visit from your security people, more than likely they are RACF protected and you can not access them anyway.
As far as IBM is concerned, if they did not write the program then some user did. |
|
Back to top |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
and you could also look for 'CVSCPAP6'. If CMDEXEC is what we assume it is, then CVSCPAP6 is probably JCL for a Started Task. You might just find it in SDSF, otherwise search your system JCL & Started Tasks libraries - most of which, if your shop has any level of professionalism at all, will be RACF protected and you will not have access authority. Be advised that attempting to access some of these libraries may also initiate a visit from the security boys.
I would start with SDSF, but it may not be there today. |
|
Back to top |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
I would always 'BROWSE' these types of libraries.
VIEW will allow you to copy/create and your shop may not like that. |
|
Back to top |
|
|
Madhanlal Currently Banned New User
Joined: 21 Apr 2007 Posts: 23 Location: Chennai
|
|
|
|
Thanks Dick |
|
Back to top |
|
|
|