Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Copy from JES2 to a file

33 views
Skip to first unread message

Mark Pace

unread,
Nov 9, 2009, 2:24:29 PM11/9/09
to
How can I copy a listing from JES2 to a file. I know in JES2 I can use SE
to "edit" the ouput, but I'm not good enough with SDSF to know how to save
that to a file somewhere.

--
Mark Pace
Mainline Information Systems
1700 Summit Lake Drive
Tallahassee, FL. 32317

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to list...@bama.ua.edu with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Lizette Koehler

unread,
Nov 9, 2009, 2:29:35 PM11/9/09
to
Use the "X" commands

XDC is my favorite. Put it next to the JES2 output you want to go to a dataset.

Lizette


>
>How can I copy a listing from JES2 to a file. I know in JES2 I can use SE
>to "edit" the ouput, but I'm not good enough with SDSF to know how to save
>that to a file somewhere.
>
>--
>Mark Pace

----------------------------------------------------------------------

McKown, John

unread,
Nov 9, 2009, 2:31:39 PM11/9/09
to
> -----Original Message-----
> From: IBM Mainframe Discussion List
> [mailto:IBM-...@bama.ua.edu] On Behalf Of Mark Pace
> Sent: Monday, November 09, 2009 1:24 PM
> To: IBM-...@bama.ua.edu
> Subject: Copy from JES2 to a file
>
> How can I copy a listing from JES2 to a file. I know in JES2
> I can use SE
> to "edit" the ouput, but I'm not good enough with SDSF to
> know how to save
> that to a file somewhere.
>
> --
> Mark Pace

When you are in SE, you can do a CC on the first line you want and a CC on the last. Then on the command line, do a CREATE and you will get a dialog box. Just like in EDIT.

If you want everything, then get in the list of sysouts for the job and do an XDC to the left of the one you want. You again get a dialog box asking you for the name, size, and DCB characteristics you want the output file to have. The XDC will create the file, copy the data, then close the file. If you want multiple sysouts in a single file, do an XD on the first to get the dialog box. Then do an X on all the rest, except for the very last sysout. On the very last sysout, do an XC which will copy the sysout, then Close it. That will copy each sysout to the file in the order in which you did the X commands.

--
John McKown
Systems Engineer IV
IT

Administrative Services Group

HealthMarkets(r)

9151 Boulevard 26 * N. Richland Hills * TX 76010
(817) 255-3225 phone * (817)-961-6183 cell
john....@healthmarkets.com * www.HealthMarkets.com

Confidentiality Notice: This e-mail message may contain confidential or proprietary information. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message. HealthMarkets(r) is the brand name for products underwritten and issued by the insurance subsidiaries of HealthMarkets, Inc. -The Chesapeake Life Insurance Company(r), Mid-West National Life Insurance Company of TennesseeSM and The MEGA Life and Health Insurance Company.SM

Mark Pace

unread,
Nov 9, 2009, 2:43:44 PM11/9/09
to
Thanks, Lizette and John. Exactly what I neeed.


On Mon, Nov 9, 2009 at 2:29 PM, McKown, John
<John....@healthmarkets.com>wrote:

> john....@healthmarkets.com * www.HealthMarkets.com<http://www.healthmarkets.com/>


>
> Confidentiality Notice: This e-mail message may contain confidential or
> proprietary information. If you are not the intended recipient, please
> contact the sender by reply e-mail and destroy all copies of the original
> message. HealthMarkets(r) is the brand name for products underwritten and
> issued by the insurance subsidiaries of HealthMarkets, Inc. -The Chesapeake
> Life Insurance Company(r), Mid-West National Life Insurance Company of
> TennesseeSM and The MEGA Life and Health Insurance Company.SM
>
>
>
> ----------------------------------------------------------------------
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to list...@bama.ua.edu with the message: GET IBM-MAIN INFO
> Search the archives at http://bama.ua.edu/archives/ibm-main.html
>

--

Mark Pace
Mainline Information Systems
1700 Summit Lake Drive
Tallahassee, FL. 32317

----------------------------------------------------------------------

Chase, John

unread,
Nov 9, 2009, 2:46:16 PM11/9/09
to
> -----Original Message-----
> From: IBM Mainframe Discussion List On Behalf Of Mark Pace
>
> How can I copy a listing from JES2 to a file. I know in JES2 I can
use SE
> to "edit" the ouput, but I'm not good enough with SDSF to know how to
save
> that to a file somewhere.

Line command XDC.

-jc-

Mike Myers

unread,
Nov 9, 2009, 2:54:46 PM11/9/09
to
Lizette:

It's actually pretty simple in SDSF, as well. You need to use 3 SDSF
commands on the command line, once you have selected the file for viewing.

The commands are:

PT ODSN dsname volume disp
; where dsname is the name you want to save the data as; volume is a
volume serial where the data set is to be put or * to let the system
(DFSMS) select a volume for you, and disp is one of: OLD, NEW SHR or MOD
(MOD is the default).

Put the cursor on the first line you want saved and enter the command:
PT * nnnnn
;where nnnnn is the number of lines you want to capture. It can be a
number larger than what is available, and SDSF will capture all the
lines to the end of the file.

PT CLOSE - closes the data set and frees it.

The data set now contains the output you captured from the JES2 output.

Mike Myers
Mentor Services Corporation

Scott Rowe

unread,
Nov 9, 2009, 3:16:04 PM11/9/09
to
Mike,

You described the more archaic (and IMO, more cumbersome) version of the XDC line command Lizette mentioned. You might want to look into the XDC line command ;-)

Scott

>>> Mike Myers <mi...@MENTOR-SERVICES.COM> 11/9/2009 2:53 PM >>>
Lizette:

It's actually pretty simple in SDSF, as well. You need to use 3 SDSF
commands on the command line, once you have selected the file for viewing.

The commands are:

PT ODSN dsname volume disp
; where dsname is the name you want to save the data as; volume is a
volume serial where the data set is to be put or * to let the system
(DFSMS) select a volume for you, and disp is one of: OLD, NEW SHR or MOD
(MOD is the default).

Put the cursor on the first line you want saved and enter the command:
PT * nnnnn
;where nnnnn is the number of lines you want to capture. It can be a
number larger than what is available, and SDSF will capture all the
lines to the end of the file.

PT CLOSE - closes the data set and frees it.

The data set now contains the output you captured from the JES2 output.

Mike Myers
Mentor Services Corporation

Lizette Koehler wrote:
> Use the "X" commands
>
> XDC is my favorite. Put it next to the JES2 output you want to go to a dataset.
>
> Lizette


CONFIDENTIALITY/EMAIL NOTICE: The material in this transmission contains confidential and privileged information intended only for the addressee. If you are not the intended recipient, please be advised that you have received this material in error and that any forwarding, copying, printing, distribution, use or disclosure of the material is strictly prohibited. If you have received this material in error, please (i) do not read it, (ii) reply to the sender that you received the message in error, and (iii) erase or destroy the material. Emails are not secure and can be intercepted, amended, lost or destroyed, or contain viruses. You are deemed to have accepted these risks if you communicate with us by email. Thank you.

Jon Brock

unread,
Nov 9, 2009, 3:20:38 PM11/9/09
to
I generally just use the point-and-shoot options from the SDSF "Print" menu.

Jon

<snip>


You described the more archaic (and IMO, more cumbersome) version of the XDC line command Lizette mentioned. You might want to look into the XDC line command ;-)

</snip>

0 new messages