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
 
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: 8165
Location: East Dubuque, Illinois, USA

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: 4650
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: 8165
Location: East Dubuque, Illinois, USA

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 Copy 4 byte of data from the last rec... arunsoods DFSORT/ICETOOL 9 Fri Oct 06, 2017 12:15 pm
No new posts sort records based on length exceeds ... maxsubrat DFSORT/ICETOOL 7 Wed Oct 04, 2017 4:48 pm
This topic is locked: you cannot edit posts or make replies. Selecting two copybooks of different ... Vignesh Sid COBOL Programming 8 Tue Sep 05, 2017 7:28 pm
No new posts Updating the Trailer count in variabl... satheshbabur DFSORT/ICETOOL 6 Wed Aug 30, 2017 9:49 pm
No new posts Repeat part of record multiple times Learncoholic DFSORT/ICETOOL 4 Tue Aug 29, 2017 11:33 am

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