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
 
Check Concatenation of dataset

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CLIST & REXX
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    Post subject: Check Concatenation of dataset
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10327
Location: italy

PostPosted: Thu Nov 27, 2008 3:41 pm    Post subject: Reply to: Check Concatenation of dataset
Reply with quote

and knowing it how would the processing change??
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: Thu Nov 27, 2008 6:24 pm    Post subject: Reply to: Check Concatenation of dataset
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

Senior Member


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

PostPosted: Fri Nov 28, 2008 12:20 am    Post subject:
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    Post subject: Reply to: Check Concatenation of dataset
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: 1288
Location: Chennai, India

PostPosted: Fri Nov 28, 2008 12:38 pm    Post subject: Reply to: Check Concatenation of dataset
Reply with quote

Usha,

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

Senior Member


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

PostPosted: Fri Nov 28, 2008 11:19 pm    Post subject: Reply to: Check Concatenation of dataset
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

Senior Member


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

PostPosted: Tue Dec 02, 2008 2:20 am    Post subject: Reply to: Check Concatenation of dataset
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    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 opening a dataset after reading it fr... arunsoods DFSORT/ICETOOL 5 Wed Oct 04, 2017 3:54 pm
No new posts Updating the Trailer count in variabl... satheshbabur DFSORT/ICETOOL 6 Wed Aug 30, 2017 9:49 pm
No new posts Mainframe dataset split purushottam DFSORT/ICETOOL 13 Tue Aug 29, 2017 12:28 pm
No new posts Can we limit length in concatenation ... balaji81_k DB2 7 Tue Aug 22, 2017 2:50 am

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