View previous topic :: View next topic
|
Author |
Message |
usharaniA
New User
Joined: 22 Jan 2008 Posts: 85 Location: India
|
|
|
|
Hi,
I have requirement to check whethere a dataset is concatenated or not.
How to check it using rexx. |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
and knowing it how would the processing change?? |
|
Back to top |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
|
|
Hi,
I second to Enrico - may be my little experience but what this requirement is all about. |
|
Back to top |
|
|
usharaniA
New User
Joined: 22 Jan 2008 Posts: 85 Location: India
|
|
|
|
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 |
|
|
Aaru
Senior Member
Joined: 03 Jul 2007 Posts: 1287 Location: Chennai, India
|
|
|
|
Usha,
Try using the SYSDSN command for your requirement. |
|
Back to top |
|
|
Pedro
Global Moderator
Joined: 01 Sep 2006 Posts: 2547 Location: Silicon Valley
|
|
|
|
Make sure to put your new rexx program into the same PDS as the macro. |
|
Back to top |
|
|
Pedro
Global Moderator
Joined: 01 Sep 2006 Posts: 2547 Location: Silicon Valley
|
|
|
|
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 |
|
|
|