View previous topic :: View next topic
|
Author |
Message |
kcprem
New User
Joined: 30 Jun 2005 Posts: 18
|
|
|
|
Hi,
I want to know the record format for the given list of datasets.
Can anyone help me the with job or details?
Thanks,
Prem |
|
Back to top |
|
|
vijayamadhuri
Active User
Joined: 06 Apr 2005 Posts: 180
|
|
|
|
U can use the tso command list dataset attributes i.e LISTD. |
|
Back to top |
|
|
Prandip
New User
Joined: 04 Mar 2005 Posts: 84 Location: In my tiny cubicle ...
|
|
|
|
Or, you can use the LMQUERY ISPF Service. Here is an example using TSO/E REXX:
Code: |
/* REXX */
"ISPEXEC LMINIT DATAID(MYDSN) DATASET('MY.DSN') ENQ(SHR)"
"ISPEXEC LMOPEN DATAID(&MYDSN) OPTION(INPUT)"
"ISPEXEC LMQUERY DATAID(&MYDSN) DATASET(VDSN)
VOLUME(VVOL) LRECL(VLRECL) RECFM(VRECFM) DSORG(VDSORG)"
"ISPEXEC LMCLOSE DATAID(&MYDSN)"
SAY VDSN VVOL VLRECL VRECFM VDSORG
|
|
|
Back to top |
|
|
kcprem
New User
Joined: 30 Jun 2005 Posts: 18
|
|
|
|
Hi VM and Prandip,
Thanks a lot for your help.
Regards,
Prem |
|
Back to top |
|
|
kcprem
New User
Joined: 30 Jun 2005 Posts: 18
|
|
|
|
Hi,
The LISTD command and Rexx recalls the dataset from migration and gives the information.
Is there any other commands which gives migration dataset information without recalling the dataset.
PS: in HLIST command, I am not able to get Record format. |
|
Back to top |
|
|
Prandip
New User
Joined: 04 Mar 2005 Posts: 84 Location: In my tiny cubicle ...
|
|
|
|
Well, it's outside of this particular forum, but the LISTDSI function, available from within either a CLIST or a TSO/E REXX exec, can be invoked with a RECALL or NORECALL option, and can also return a variable with the dataset's RECFM. |
|
Back to top |
|
|
|