Re: DSLIST-like output for Non-VSAM Files in Batch

2011-10-11 Thread John P Kalinich
Joseph Lenz of the IBM Mainframe Discussion List IBM-MAIN@bama.ua.edu
wrote on 10/10/2011 06:22:37 PM:

I want to generate DSLIST-like output from a batch job similar to
what is displayed in ISPF 3.4 with the Space option for non-VSAM
(flat files) defined on my system.

There is DSAT on CBT file 296.  This program was recently updated for EAV
support.  It would be up to you to compute the %Used value.

dsat 'AC.XMITLRG' sms lastref
SERIAL   ALLOCFREE EXT  DSORG -DCB ATTRIBUTES- CR. DATE   LAST REF
SMS DATACLAS MGMTCLAS STORCLAS -DSNAME-  LDS901   68263
65554   1  A-PSL VB   27980 26608 06/27/2011 09/07/2011  YES DCFINLRG
PRODUCTN SCFINLRG AC.XMITLRG

Regards,
John K

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


DSLIST-like output for Non-VSAM Files in Batch

2011-10-10 Thread Lenz, Joseph
Greetings,

I want to generate DSLIST-like output from a batch job similar to what is 
displayed in ISPF 3.4 with the Space option for non-VSAM (flat files) defined 
on my system.

Command - Enter / to select actionTracks %Used   XT
---
 
 .XXX.XXX3   50 1
 .XXX.XXX5   80 1

Is there a JCL utility program that will generate this output?  I have looked, 
and have not found one.

Thank you in advance for your help.

Regards,
Joseph Lenz
TTI, Inc.
Fort Worth, TX

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


Re: DSLIST-like output for Non-VSAM Files in Batch

2011-10-10 Thread Dave Salt
One way to do this would be to write a simple REXX that uses the SAVE option of 
the LMDLIST service. Together with STATS(YES) this should give you what you 
want, and the REXX could be executed in batch or foreground. 

HTH,
 
Dave Salt

SimpList(tm) - try it; you'll get it! 

http://www.mackinney.com/products/program-development/simplist.html  





 Date: Mon, 10 Oct 2011 23:22:37 +
 From: joseph.l...@ttiinc.com
 Subject: DSLIST-like output for Non-VSAM Files in Batch
 To: IBM-MAIN@bama.ua.edu
 
 Greetings,
 
 I want to generate DSLIST-like output from a batch job similar to what is 
 displayed in ISPF 3.4 with the Space option for non-VSAM (flat files) defined 
 on my system.
 
 Command - Enter / to select actionTracks %Used   XT
 ---
  
  .XXX.XXX3   50 1
  .XXX.XXX5   80 1
 
 Is there a JCL utility program that will generate this output?  I have 
 looked, and have not found one.
 
 Thank you in advance for your help.
 
 Regards,
 Joseph Lenz
 TTI, Inc.
 Fort Worth, TX
 
 --
 For IBM-MAIN subscribe / signoff / archive access instructions,
 send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
 Search the archives at http://bama.ua.edu/archives/ibm-main.html
  
--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: DSLIST-like output for Non-VSAM Files in Batch

2011-10-10 Thread Mark Zelden
On Mon, 10 Oct 2011 23:22:37 +, Lenz, Joseph joseph.l...@ttiinc.com wrote:

Greetings,

I want to generate DSLIST-like output from a batch job similar to what is 
displayed in ISPF 3.4 with the Space option for non-VSAM (flat files) defined 
on my system.

Command - Enter / to select actionTracks %Used   XT
---
 
 .XXX.XXX3   50 1
 .XXX.XXX5   80 1

Is there a JCL utility program that will generate this output?  I have looked, 
and have not found one.

Thank you in advance for your help.



You can run ISPF in batch and execute the CLIST below.  Modify as required.  
You'll want
to change STATS(NO) to STATS(YES)


PROC 0 L(SYSUID)  G(SAVE)  
 /* */  
 /* Quick ISPF save of data set names. This is much quicker */  
 /* than using OPT 3.4, because it does not do an obtain*/  
 /* for each data set in the list because of STATS(NO). */  
 /* The dsn created will be USERID.SAVE.DATASETS*/  
 /* */  
 ISPEXEC CONTROL ERRORS RETURN  
 ISPEXEC LMDINIT LISTID(LISTID)  LEVEL(L)  
 ISPEXEC LMDLIST LISTID(LISTID) OPTION(SAVE) STATS(NO) GROUP(G)   
 WRITE COMPLETE!! RETURN CODE WAS LASTCC   
 ISPEXEC LMDFREE LISTID(LISTID)  

 
--
Mark Zelden - Zelden Consulting Services - z/OS, OS/390 and MVS   
mailto:m...@mzelden.com
Mark's MVS Utilities: http://www.mzelden.com/mvsutil.html 
Systems Programming expert at http://expertanswercenter.techtarget.com/

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


Re: DSLIST-like output for Non-VSAM Files in Batch

2011-10-10 Thread Mingee, David
Hi,  One option is to do an ISPF 3.4 dslist and then enter  -   SAVE MYFILE   
on the command line.   This will create a disk file named  
'userid.myfile.datasets'  that contains all the info and can be edited and 
sorted as needed.  Or try:

//STEP1   EXEC PGM=IKJEFT01,DYNAMNBR=20  
//SYSTSPRT DD   SYSOUT=*  CAN CHANGE TO A PS FIL  
//SYSPRINT DD   SYSOUT=*  
//SYSUDUMP DD   SYSOUT=*  
//SYSTSIN  DD   * 
LISTDS 'GRT.GIOIDXM.JCL' MEMBERS  
/*
OUTPUT
GRT.GIOIDXM.JCL   
--RECFM-LRECL-BLKSIZE-DSORG   
  FB8027920   PO  
--VOLUMES--   
  NTE042  
--MEMBERS--   
  $$TEST  
  $TRAPWTO
  #ASCII  

Or 

//LISTDS  JOB (24186),'LIST MEMBERS ',CLASS=P,MSGCLASS=O, 
// MSGLEVEL=(1,1),NOTIFY=SYSUID  
//STEP10 EXEC PGM=IKJEFT01
//SYSTSPRT DD DSN=GRT.GIOIDXM.DATELIST.LISTING,   
// DISP=(NEW,CATLG,DELETE),   
// SPACE=(CYL,(1,1),RLSE),
// UNIT=SYSDA,
// DCB=(RECFM=FB,LRECL=80,BLKSIZE=0)  
//SYSPRINT DD SYSOUT=*
//SYSIN DD DUMMY  
//SYSTSIN DD *
LISTDS 'TST.GIOIDXM.JCL' MEMBERS  
LISTDS 'TST.GIOIDXM.JCL' HIST 
LISTDS 'PRD.PGDMASP.DATA.DOCUDTL.SORTED.G1948V00' HIST
LISTDS 'PRD.PGDMASP.DATA.DOCUDTL.SORTED.*' HIST   
/*


David L. Mingee
Principal Systems Administrator
Indianapolis Production Control 
Data Center Operations / Operations Technical Support

Work Ext  782-6460
Work Direct Dial  317 581-6460
Home 317 598-0919 / Cell 317 341-0885



-Original Message-
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@bama.ua.edu] On Behalf Of 
Lenz, Joseph
Sent: Monday, October 10, 2011 7:23 PM
To: IBM-MAIN@bama.ua.edu
Subject: DSLIST-like output for Non-VSAM Files in Batch

Greetings,

I want to generate DSLIST-like output from a batch job similar to what is 
displayed in ISPF 3.4 with the Space option for non-VSAM (flat files) defined 
on my system.

Command - Enter / to select actionTracks %Used   XT
---
 
 .XXX.XXX3   50 1
 .XXX.XXX5   80 1

Is there a JCL utility program that will generate this output?  I have looked, 
and have not found one.

Thank you in advance for your help.

Regards,
Joseph Lenz
TTI, Inc.
Fort Worth, TX

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

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


Re: DSLIST-like output for Non-VSAM Files in Batch

2011-10-10 Thread Lizette Koehler
 
 I want to generate DSLIST-like output from a batch job similar to what is
displayed in
 ISPF 3.4 with the Space option for non-VSAM (flat files) defined on my
system.
 
 Command - Enter / to select actionTracks %Used
XT


---
  
  .XXX.XXX3   50
1
  .XXX.XXX5   80
1
 
 Is there a JCL utility program that will generate this output?  I have
looked, and have
 not found one.
 
 Thank you in advance for your help.
 
 

You can roll your own with LISTDSI or   

 Go to the CBTTAPE.ORG and look for VTOC functions.  Some produce a
really nice listing in batch.
Lizette

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


Re: DSLIST-like output for Non-VSAM Files in Batch

2011-10-10 Thread Ed Finnell
Or run ISPF in batch? The hard part is where to put the delimiters...
 
 
In a message dated 10/10/2011 7:48:13 P.M. Central Daylight Time,  
stars...@mindspring.com writes:

You can  roll your own with LISTDSI or  


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