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
 

 

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: 4648
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: 4648
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 find particular member name in PDS us... ravi243 CLIST & REXX 10 Mon Dec 19, 2016 6:44 pm
No new posts What is the command to check MODE of ... rohanthengal CLIST & REXX 7 Fri Nov 18, 2016 1:48 pm
No new posts FTOPEN TEMP is failing due to dataset... mbenaud TSO/ISPF 7 Thu Jul 28, 2016 4:28 pm
No new posts File Stauts 92 with member of PDS sandip_mainframe COBOL Programming 4 Fri Jun 10, 2016 12:06 pm
This topic is locked: you cannot edit posts or make replies. Secure Browse to open dataset sandip_mainframe TSO/ISPF 3 Tue Apr 26, 2016 11:18 am


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