Page 1 of 3

Batch utility for =3.4 ?

PostPosted: Thu Oct 11, 2012 10:43 pm
by c62ap90
Does anyone know of a batch utility process I can run that will give me the results comparable to TSO browsing in =3.4? - Name, Prompt, Size, Created, Changed, ID, etc. Thanks.

Re: Batch utility for =3.4 ?

PostPosted: Thu Oct 11, 2012 10:45 pm
by Robert Sample
Did you try a Print on the command line to print the ISPF (NOT TSO) 3.4 output?

Re: Batch utility for =3.4 ?

PostPosted: Fri Oct 12, 2012 12:55 am
by c62ap90
Since there are 79,000+ members that would take too long for me to "screen scrap" to add to a file.

Re: Batch utility for =3.4 ?

PostPosted: Fri Oct 12, 2012 1:01 am
by Robert Sample
Who mentioned anything about screen scraping? TSO/ISPF option 3.4 has a PRINT command. This command will produce a listing file containing the same data that shows up on the screen -- member name, lines, etc. When you exit TSO/ISPF, you either use a default for the listing file (print and delete, delete without printing, keep the data set and use for next session, or keep the data set and allocate a new one next session), or you specify which option to use.

Re: Batch utility for =3.4 ?

PostPosted: Fri Oct 12, 2012 1:02 am
by Akatsukami
Obviously an option field is not going to be useful to you in the batch environment. Otherwise, however, I suggest that you do an IDCAMS LISTCAT on the entries of interest, and then massage that output into your desired format with the language of your choice.

Re: Batch utility for =3.4 ?

PostPosted: Fri Oct 12, 2012 1:05 am
by dick scherrer
Hello,

No need to "screen scrape".

I've not used PRINT, but if you have the list of members up on the screen, type SAVE MYSTUFF in the command line and Enter.

A file with a dsn of YOURID.MYSTUFF.MEMBERS should be created and hyou can then browse/edit/print this as you choose.

Re: Batch utility for =3.4 ?

PostPosted: Fri Oct 12, 2012 1:07 am
by enrico-sorichetti
Since there are 79,000+ members that would take too long for me to "screen scrap" to add to a file.


horse manure ...

what happened when You tried the command SAVE

SAVE without any operand will save to the current ISPF list dataset

SAVE <something> will save the whole 3.4 result to a dataset named <userid>.<something>.DATASETS

if You want to keep working in IT in the MF environment it would be wise to be proficient in ISPF use
http://publibz.boulder.ibm.com/cgi-bin/ ... s/ISPZPM70
not the latest one
but You can find the one related to Your zOS level starting from
http://www-03.ibm.com/systems/z/os/zos/ ... index.html

Re: Batch utility for =3.4 ?

PostPosted: Fri Oct 12, 2012 1:25 am
by c62ap90
Robert Sample wrote:Who mentioned anything about screen scraping? TSO/ISPF option 3.4 has a PRINT command. This command will produce a listing file containing the same data that shows up on the screen -- member name, lines, etc. When you exit TSO/ISPF, you either use a default for the listing file (print and delete, delete without printing, keep the data set and use for next session, or keep the data set and allocate a new one next session), or you specify which option to use.


Thanks but this is not the "batch utility process" in my original post I was looking for. Since I plan on running a "batch utility process" nightly I need a particular job to run. What you explained is a TSO process and not a "batch utility process". ...but thanks for the reply.

Re: Batch utility for =3.4 ?

PostPosted: Fri Oct 12, 2012 1:29 am
by c62ap90
dick scherrer wrote:Hello,

No need to "screen scrape".

I've not used PRINT, but if you have the list of members up on the screen, type SAVE MYSTUFF in the command line and Enter.

A file with a dsn of YOURID.MYSTUFF.MEMBERS should be created and hyou can then browse/edit/print this as you choose.


Thanks but not a "batch utility process".

Re: Batch utility for =3.4 ?

PostPosted: Fri Oct 12, 2012 1:34 am
by c62ap90
enrico-sorichetti wrote:
Since there are 79,000+ members that would take too long for me to "screen scrap" to add to a file.


horse manure ...

what happened when You tried the command SAVE

SAVE without any operand will save to the current ISPF list dataset

SAVE <something> will save the whole 3.4 result to a dataset named <userid>.<something>.DATASETS

if You want to keep working in IT in the MF environment it would be wise to be proficient in ISPF use
http://publibz.boulder.ibm.com/cgi-bin/ ... s/ISPZPM70
not the latest one
but You can find the one related to Your zOS level starting from
http://www-03.ibm.com/systems/z/os/zos/ ... index.html


Horse manure right back at you...

Thanks but not a "batch utility process". Please read my original post and if you need more interpretation please let me know. Thank you.