home *** CD-ROM | disk | FTP | other *** search
- Comments: Gated by NETNEWS@AUVM.AMERICAN.EDU
- Path: sparky!uunet!paladin.american.edu!auvm!UTMARTN.BITNET!##09
- Return-Path: <@VM1.CC.UAKRON.EDU:IBM-MAIN@UA1VM.BITNET>
- Message-ID: <11JAN93.12891296.0012.MUSIC@UTMARTN>
- Newsgroups: bit.listserv.ibm-main
- Date: Mon, 11 Jan 1993 11:56:10 CST
- Sender: IBM Mainframe Discussion list <IBM-MAIN@RICEVM1.BITNET>
- From: Larry Holder <##09@UTMARTN.BITNET>
- Subject: Routine to return jobname
- In-Reply-To: In reply to your message of MON 11 JAN 1993 10:36:05 CST
- Lines: 19
-
- > Environment:
- > MVS/ESA - JES2 4.2.0
- > DFP 3.3.0
- >
- > Question: Does anyone have an assembly routine callable from COBOL that
- > will return the jobnumber,jobname, and stepname of the job
- > while it is executing? Is there an easier way to obtain this
- > information? Thanks in advance!
-
- I am no longer in an MVS shop, but while at Wal-Mart I recall an
- assembler program which used the EXTRACT macro to get the info you
- are looking for. I'd suggest reading up on that macro.
-
- Larry Holder, Senior Programmer/Analyst Bitnet: ##09@UTMARTN
- The University of Tennessee at Martin Phone: 901-587-7890
- Martin, Tennessee 38238 U.S.A. Fax: -7841
-
- VM/ESA 1.0, VSE/ESA 1.1, CICS/VSE 2.1, COBOL-II, DL/I, SQL/DS, QMF
- PSW (Personal Status Words): "Saved By Grace" (Romans 1:16 & 8:38)
-