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
 
Open a member in a PDS....

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CLIST & REXX
View previous topic :: :: View next topic  
Author Message
karthikr44

Active User


Joined: 25 Aug 2007
Posts: 235
Location: Chennai

PostPosted: Thu May 29, 2008 11:26 am    Post subject: Open a member in a PDS....
Reply with quote

HI,

I tried to open a member in a pds using the following code.

/* REXX */
DSN = DEV2.RK.JCL(ALLDUPS)
"ISPEXEC BROWSE DATASET('"DSN"')"

But it is throwing the error

2 +++ DSN = DEV2.RK.JCL(ALLDUPS)
IRX0043I Error running SAMPLE, line 2: Routine not found
***

Any one please help me to solve this

Regards
R KARTHIK
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 May 29, 2008 11:29 am    Post subject: Reply to: Open a member in a PDS....
Reply with quote

How about trying

DSN = "DEV2.RK.JCL(ALLDUPS)"

DEV2.RK.JCL(ALLDUPS) almost looks like a function call.
Back to top
View user's profile Send private message
karthikr44

Active User


Joined: 25 Aug 2007
Posts: 235
Location: Chennai

PostPosted: Thu May 29, 2008 11:33 am    Post subject: Reply to: Open a member in a PDS....
Reply with quote

Thanks for ur immediate reply....

Its working now.....
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 May 29, 2008 2:23 pm    Post subject: Reply to: Open a member in a PDS....
Reply with quote

Hold on a minute, I knew something about this didn't seem right.

When you reviewed the original code in Edit, didn't it look odd to you:

/* REXX */
DSN = DEV2.RK.JCL(ALLDUPS)
"ISPEXEC BROWSE DATASET('"DSN"')"

instead of how the syntactically correct code should look:

/* REXX */
DSN = "DEV2.RK.JCL(ALLDUPS)"
"ISPEXEC BROWSE DATASET('"DSN"')"
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 Reply MQ open error Vignesh Sid COBOL Programming 6 Thu Sep 07, 2017 6:02 pm
No new posts member list compare jzhardy TSO/ISPF 6 Fri May 12, 2017 3:18 pm
No new posts Browsing member from any PDS shiitiizz CLIST & REXX 7 Wed Mar 08, 2017 1:17 am
No new posts Bind plan as a member to another bind... rexx77 DB2 0 Thu Feb 16, 2017 2:02 am
No new posts find particular member name in PDS us... ravi243 CLIST & REXX 10 Mon Dec 19, 2016 6:44 pm

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