Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
to find recfm

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
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

vijayamadhuri

Active User


Joined: 06 Apr 2005
Posts: 180

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

New User


Joined: 04 Mar 2005
Posts: 85
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

New User


Joined: 04 Mar 2005
Posts: 85
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
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Command to find TMEMBER name for a TPIPE Siva NKK Kothamasu IMS DB/DC 0 Wed Aug 16, 2017 6:08 pm
No new posts find RACF group for access to spooled... jzhardy JCL & VSAM 1 Mon May 08, 2017 11:46 am
No new posts To find out size allocated to a seque... ashek15 JCL & VSAM 15 Thu Apr 27, 2017 9:42 am
No new posts Copy RECFM =VB TO FB file with RECL =... sahil41352 DFSORT/ICETOOL 3 Wed Dec 28, 2016 11:29 pm
No new posts find particular member name in PDS us... ravi243 CLIST & REXX 10 Mon Dec 19, 2016 6:44 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us