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: 8280
Location: Dubuque, Iowa, 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: 8280
Location: Dubuque, Iowa, 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 VSAM - Accessing beyond record size Benchwarmer JCL & VSAM 6 Wed Apr 11, 2018 9:20 pm
No new posts Limit in Length for a CICS START seahawk789 CICS 6 Mon Apr 02, 2018 8:34 pm
No new posts Copying only first and last word from... chandan.inst SYNCSORT 4 Wed Jan 31, 2018 4:19 pm
No new posts How to select record x+7 or x+2 based... JoAnn Kulcyk SYNCSORT 6 Tue Jan 16, 2018 10:49 pm
No new posts query to fetch record which has only ... maxsubrat DB2 12 Mon Dec 11, 2017 5:03 pm

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