Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Record length for a GDG datatset

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CLIST & REXX
View previous topic :: :: View next topic  
Author Message
prasannahcp

New User


Joined: 16 May 2005
Posts: 15
Location: Bangalore

PostPosted: Tue Nov 10, 2009 5:37 pm    Post subject: Record length for a GDG datatset
Reply with quote

Can we get a record length for a GDG dataset using REXX?
Back to top
View user's profile Send private message

Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 7999
Location: Bellevue, IA

PostPosted: Tue Nov 10, 2009 5:43 pm    Post subject:
Reply with quote

What do you mean by "GDG dataset"? There is a GDG base -- which has absolutely no record length since it is nothing but a catalog entry, and then there are generations of the GDG which represent sequential files.
Back to top
View user's profile Send private message
superk

Moderator Team Head


Joined: 26 Apr 2004
Posts: 4648
Location: Raleigh, NC, USA

PostPosted: Tue Nov 10, 2009 7:05 pm    Post subject: Reply to: Record length for a GDG datatset
Reply with quote

Yes. What REXX function(s) have you tried?
Back to top
View user's profile Send private message
prasannahcp

New User


Joined: 16 May 2005
Posts: 15
Location: Bangalore

PostPosted: Tue Nov 10, 2009 10:23 pm    Post subject:
Reply with quote

I am getting the record length for disk datasets using the function

FILE_NAME="'Ur FILE_NAME'"
dsinfo=LISTDSI(FILE_NAME)

SAY 'Record Length..............:'SYSLRECL

But i am not getting for the tape datasets... [/quote]
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 7999
Location: Bellevue, IA

PostPosted: Tue Nov 10, 2009 10:30 pm    Post subject:
Reply with quote

Quote:
Can we get a record length for a GDG dataset using REXX?
is only remotely related to
Quote:
But i am not getting for the tape datasets.
TSO user ids don't generally have access to tape data sets so you cannot retrieve such data on data sets stored on tape.
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Tue Nov 10, 2009 10:43 pm    Post subject:
Reply with quote

Hello,

Quote:
TSO user ids don't generally have access to tape data sets so you cannot retrieve such data on data sets stored on tape.
You could speak with the tape storage management people and learn if this is available via the tape management system. . .
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 -> CLIST & REXX All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Record Not found in AlX but record re... mukun264 COBOL Programming 7 Fri Mar 24, 2017 9:28 am
No new posts Count the length of the record & ... sreekusr DFSORT/ICETOOL 4 Thu Mar 23, 2017 7:52 pm
No new posts IMS DB-How to update a record (a sing... Nic Clouston IMS DB/DC 9 Thu Mar 09, 2017 4:38 pm
No new posts Writing on to GSAM variable length rohanthengal JCL & VSAM 6 Fri Mar 03, 2017 7:46 pm
No new posts To Merge mutliple records into a sing... anandgbe DFSORT/ICETOOL 6 Wed Feb 22, 2017 8:49 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us