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

Check Concatenation of dataset


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

New User


Joined: 22 Jan 2008
Posts: 85
Location: India

PostPosted: Thu Nov 27, 2008 3:34 pm
Reply with quote

Hi,
I have requirement to check whethere a dataset is concatenated or not.
How to check it using rexx.
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Thu Nov 27, 2008 3:41 pm
Reply with quote

and knowing it how would the processing change??
Back to top
View user's profile Send private message
superk

Global Moderator


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

PostPosted: Thu Nov 27, 2008 6:24 pm
Reply with quote

I don't know of any REXX functionality, but the TSO/E LISTALC Command should work.
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Fri Nov 28, 2008 12:20 am
Reply with quote

Hi,

I second to Enrico - may be my little experience but what this requirement is all about.
Back to top
View user's profile Send private message
usharaniA

New User


Joined: 22 Jan 2008
Posts: 85
Location: India

PostPosted: Fri Nov 28, 2008 9:07 am
Reply with quote

hi,
Actually i want to check whethere a dataset is concatenated ,if it is not i should ask the user to concatenate it , because the pds contains macro, so when evere the macro is called it should execute it instead throwing errors.
Back to top
View user's profile Send private message
Aaru

Senior Member


Joined: 03 Jul 2007
Posts: 1287
Location: Chennai, India

PostPosted: Fri Nov 28, 2008 12:38 pm
Reply with quote

Usha,

Try using the SYSDSN command for your requirement.
Back to top
View user's profile Send private message
Pedro

Global Moderator


Joined: 01 Sep 2006
Posts: 2547
Location: Silicon Valley

PostPosted: Fri Nov 28, 2008 11:19 pm
Reply with quote

Make sure to put your new rexx program into the same PDS as the macro.
Back to top
View user's profile Send private message
Pedro

Global Moderator


Joined: 01 Sep 2006
Posts: 2547
Location: Silicon Valley

PostPosted: Tue Dec 02, 2008 2:20 am
Reply with quote

Quote:
Make sure to put your new rexx program into the same PDS as the macro.


I meant that as humor:

1. You are writing a new rexx program (called rexx1, for example) to see if a rexx macro program is setup correctly. But your new rexx program will have the same setup issues. You may need yet another rexx program (called rexx2, for example) to see if the rexx1 program is setup correctly. (more humor)

2. If the new program and old macro are in the same PDS, they will have been setup correctly for either one of them to work. So, there is actually no need to write the new program.
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 FINDREP - Only first record from give... DFSORT/ICETOOL 3
No new posts Map Vols and Problem Dataset All Other Mainframe Topics 2
No new posts SCOPE PENDING option -check data DB2 2
No new posts Check data with Exception Table DB2 0
No new posts Allocated cylinders of a dataset DB2 12
Search our Forums:

Back to Top