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: 8055
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: 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: 8055
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 Adding big TEXT lines to each record ... bshkris SYNCSORT 4 Sat May 06, 2017 1:40 am
This topic is locked: you cannot edit posts or make replies. Merge two files and update Trailer re... Yashashri JCL & VSAM 1 Thu May 04, 2017 12:54 pm
No new posts Length of Tape file Mohan Kothakota JCL & VSAM 9 Thu Apr 20, 2017 10:24 pm
No new posts Sort Large record length cmsmoon DFSORT/ICETOOL 14 Tue Apr 11, 2017 5:49 pm
No new posts Format record to remove Leading zeroes Learncoholic DFSORT/ICETOOL 14 Wed Apr 05, 2017 2:43 pm


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