Page 1 of 1

How to find out the record length using tso command?

Posted: Wed Feb 15, 2006 12:01 pm
by bsriram
hi,
can any body give me reply.this is interview question. pls give me reply asap.

with cheers,
sriram.

Posted: Fri Feb 17, 2006 5:14 pm
by Rupesh.KOthari
Hi,
can any body give me reply.this is interview question. pls give me reply asap.
In option 3.4, when you enter i infront of PS. U will get following record length.

Code: Select all

Record length . . . : 80
Correct me if I am wrong.

Posted: Tue Jan 30, 2007 9:36 pm
by LRevell
Works for DASD files, but not for tape or GDG files.
For tapes, run a simple Syncsort job to copy the dataset to a dummy output, and the printout will give you the record count.

Posted: Thu Feb 15, 2007 11:39 am
by meena_cts
FYI...
For Tape Files, Lrecl and other basic information can be found thru
CA-1 UCC1 - TAPE MANAGEMENT System Interface .

In CA-1 Tool, U'll have to enter into Inquiry Option Wherein
we have to give either Vol Serial No of the Tape OR the Name of the Tape File.

We'll get all the Info about the tape like Lrecl ,Created Date/Time,Expiry Date,Block Size,RecFm etc...

However to view data on the tape files, SORT Step need to be executed (which will copy fiel residing from tape to disk).

Posted: Fri Oct 26, 2007 12:17 am
by varun
You can use the TSO/E command LISTDS to find the attributes of a non-VSAM dataset. For a VSAM dataset, the LISTDS command only returns DSORG, which is, VSAM. You would need to then use LISTCAT command to get more information about the VSAM dataset

HTH,
Varun