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
 
How do i open a PDS of format U in REXX

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
View previous topic :: :: View next topic  
Author Message
pguru25

New User


Joined: 20 Mar 2008
Posts: 2
Location: Chennai

PostPosted: Mon Apr 28, 2008 5:00 pm    Post subject: How do i open a PDS of format U in REXX
Reply with quote

Hi,
Please advice, how do i open a PDS of format U in REXX.
regards
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: Mon Apr 28, 2008 5:35 pm    Post subject: Reply to: PDS format
Reply with quote

From the z/OS V1R7.0 TSO/E REXX Reference Chapter 10.3 EXECIO:

Quote:

The EXECIO command can be used in REXX execs that execute in both the TSO/E address space and non-TSO/E address spaces.

You can use the EXECIO command to do various types of I/O tasks, such as copy information to and from a data set to add, delete, or update the information.

Restrictions: The EXECIO command does not support I/O on files allocated to data sets with spanned, track overflow, or undefined record formats.

An I/O data set must be either sequential or a single member of a PDS. Before the EXECIO command can perform I/O to or from the data set, the data set must be allocated to a file that is specified on the EXECIO command. The EXECIO command does not perform the allocation.


I don't know if you can "open a PDS of format U", but you certainly can't read one.

There is a specific MVS utility that deals with processing the information contained in a loadlib.

It might be more helpful if you would describe what you want to do with this PDS and what process you want to follow to accomplish your goal.
Back to top
View user's profile Send private message
pguru25

New User


Joined: 20 Mar 2008
Posts: 2
Location: Chennai

PostPosted: Tue Apr 29, 2008 6:31 pm    Post subject:
Reply with quote

we could find some discrepancy with few load modules in the Loadlib library. Hence we need to get all the compilation dates of the load module in two different environment. The Loadlib library is of U format.

Can you please advise how to get those dates?
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 Apr 29, 2008 6:43 pm    Post subject: Reply to: How do i open a PDS of format U in REXX
Reply with quote

Will AMBLIST give you what you need?
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 -> COBOL Programming All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts How to write Rexx program to size and... sreejeshcs CLIST & REXX 14 Thu Oct 12, 2017 7:26 am
This topic is locked: you cannot edit posts or make replies. Rexx to execute spool commands upendrasri CLIST & REXX 5 Wed Oct 04, 2017 6:54 am
This topic is locked: you cannot edit posts or make replies. Rexx to execute spool commands upendrasri CLIST & REXX 47 Fri Sep 29, 2017 1:08 pm
No new posts Fetch Previous month & year in MM... girishb2 DFSORT/ICETOOL 3 Thu Sep 21, 2017 9:54 pm
No new posts ejck thru rexx to multiple jobs insid... Susanta All Other Mainframe Topics 5 Tue Sep 19, 2017 1:39 pm

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