Portal | IBM Manuals | Downloads | Products | Refer | Info | Programs | JCLs | Forum Rules*| Site Map | Mainframe CD 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index
 
Register
 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index FAQ Search Memberlist Usergroups Profile Log in to check your private messages Log in
 
to find recfm

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> SMS & VSAM
Author Message
kcprem

New User


Joined: 30 Jun 2005
Posts: 18

PostPosted: Wed Jul 27, 2005 2:01 am    Post subject: to find recfm
Reply with quote

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
View user's profile Send private message
References
vijayamadhuri

Active User


Joined: 06 Apr 2005
Posts: 187

PostPosted: Wed Jul 27, 2005 9:40 am    Post subject: HI kcprem
Reply with quote

U can use the tso command list dataset attributes i.e LISTD.
Back to top
View user's profile Send private message
Prandip

Active User


Joined: 04 Mar 2005
Posts: 89
Location: In my tiny cubicle ...

PostPosted: Wed Jul 27, 2005 5:43 pm    Post subject: Re: to find recfm
Reply with quote

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
View user's profile Send private message
kcprem

New User


Joined: 30 Jun 2005
Posts: 18

PostPosted: Wed Jul 27, 2005 9:14 pm    Post subject: Re: to find recfm
Reply with quote

Hi VM and Prandip,

Thanks a lot for your help.

Regards,
Prem
Back to top
View user's profile Send private message
kcprem

New User


Joined: 30 Jun 2005
Posts: 18

PostPosted: Wed Jul 27, 2005 9:38 pm    Post subject: Re: to find recfm
Reply with quote

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
View user's profile Send private message
Prandip

Active User


Joined: 04 Mar 2005
Posts: 89
Location: In my tiny cubicle ...

PostPosted: Wed Jul 27, 2005 11:32 pm    Post subject: Re: to find recfm
Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> SMS & VSAM All times are GMT + 6 Hours
Page 1 of 1