IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Record length for a GDG datatset


IBM Mainframe Forums -> CLIST & REXX
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
prasannahcp

New User


Joined: 16 May 2005
Posts: 16
Location: Bangalore

PostPosted: Tue Nov 10, 2009 5:37 pm
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: 8696
Location: Dubuque, Iowa, USA

PostPosted: Tue Nov 10, 2009 5:43 pm
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

Global Moderator


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

PostPosted: Tue Nov 10, 2009 7:05 pm
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: 16
Location: Bangalore

PostPosted: Tue Nov 10, 2009 10:23 pm
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: 8696
Location: Dubuque, Iowa, USA

PostPosted: Tue Nov 10, 2009 10:30 pm
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

Moderator Emeritus


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

PostPosted: Tue Nov 10, 2009 10:43 pm
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CLIST & REXX

 


Similar Topics
Topic Forum Replies
No new posts Store the data for fixed length COBOL Programming 1
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts PARSE Syntax for not fix length word ... JCL & VSAM 7
No new posts SFTP Issue - destination file record ... All Other Mainframe Topics 2
No new posts FINDREP - Only first record from give... DFSORT/ICETOOL 3
Search our Forums:

Back to Top