hello All,
is there any facility provided by REXX to search for a job in Caview / SAR
i know with JCL using utility SARBCH. but want to do this with REXX. can some one please help me
I tried with this code
"ALLOC DA(CAVIEW.SYSPRINT) F(SYSPRINT) NEW KEEP,
SPACE(2 2) LRECL(133) RECFM(F B)"
ALLOC DA(CAVIEW.OUTFILE) F(OUTFILE) NEW KEEP,
SPACE(10 10) LRECL(133) RECFM(F B)"
"ALLOC DA(CAVIEW.SYSIN) F(SYSIN) SHR"
"ALLOC DUMMY F(REPORT)"
/*"CALL *(SARBCH)"*/
ADDRESS LINKMVS "SARBCH"
"FREE F(SYSIN,SYSPRINT,OUTFILE,REPORT)"
and also i tried with Address xpview and the rest procedure .. is someone have any running or tested code, which can run with REXX to fetch the jobs in SAR / CAVIEW.
Please help
SARBCH thru REXX
Moderators: Veera, Moderator Group
-
- Member
- Posts: 13
- Joined: Wed Mar 14, 2012 8:18 pm
SARBCH thru REXX
Thanks
Rajiv
Rajiv
-
- Member
- Posts: 13
- Joined: Wed Mar 14, 2012 8:18 pm
- dbzTHEdinosauer
- Moderator
- Posts: 981
- Joined: Mon Oct 02, 2006 8:31 pm
should check with the CAView docs and insure all CA libraries are included
in the concatenation of the appropriate DSname for the step you are executing.
what is your jcl, by the way, for invoking your REXX script?
insure, at a minimum, you include the necessary DD statements
(for the different DSnames that are required)
for site libraries to support execution of a REXX Script in Batch.
the description of the JCL necessary is contained in the REXX Application programers guide and in the REXX Reference,
both of which are accessable via the 'button' IBM Manuals, at the top of the page.
in the concatenation of the appropriate DSname for the step you are executing.
what is your jcl, by the way, for invoking your REXX script?
insure, at a minimum, you include the necessary DD statements
(for the different DSnames that are required)
for site libraries to support execution of a REXX Script in Batch.
the description of the JCL necessary is contained in the REXX Application programers guide and in the REXX Reference,
both of which are accessable via the 'button' IBM Manuals, at the top of the page.
Dick Brenholtz
JCL, SQL and code in programs have an irritating habit of doing what you say,
not what you meant.
JCL, SQL and code in programs have an irritating habit of doing what you say,
not what you meant.
FREE TUTORIALS
Tutorials
Free tutorials from mainframegurukul
- JCL Tutorial
Covers all important JCL concepts. - Cobol Tutorial
This tutorials covers all Cobol Topics from STRING to COMP-3. - DB2 Tutorial
DB2 Tutorial focuses on DB2 COBOL Programming. - SORT Tutorial
This Tutorial covers all important aspects of DFSORT with examples - CICS Tutorial
This CICS tutorial covers CICS concepts and CICS Basics, CICS COBOL Programming.
Interview
Mainframe Interview questions
- Cobol Interview Questions
50+ Interview Questions - JCL Interview Questions
50+ Interview Questions - DB2 Interview Questions
100+ Interview Questions - CICS Interview Questions
70+ Interview Questions - VSAM Interview Questions
27 Interview Questions
Other References
Mainframe Tools and others
- XPEDITER Reference
Explains how we can debug a program - FILEAID Reference
Explains how to browse , edit and delete datasets - Change Man Reference
Quick Start tutorial on Changeman - Abend Reference
Important Abend codes explained - FaceBook Page
MainframeGurukul FaceBook Page - LinkedIn Page
MainframeGurkul Linkedin Page