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
 

 

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: 10231
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: 4648
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: 2033
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: 2033
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 Unable to catalog a gdg dataset resid... Shovan JCL & VSAM 6 Fri Mar 24, 2017 2:24 pm
No new posts Want to pull the job log into a Mainf... Jishu Mukherjee Compuware & Other Tools 9 Tue Mar 21, 2017 4:48 pm
No new posts Check Binary Values for symbols gandikk CA Products 3 Tue Mar 21, 2017 5:11 am
No new posts JCL to get submitted once dataset has... vinu78 JCL & VSAM 17 Thu Feb 16, 2017 7:32 am
No new posts What is the command to check MODE of ... rohanthengal CLIST & REXX 7 Fri Nov 18, 2016 1:48 pm


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