View previous topic :: View next topic
|
Author |
Message |
satish.ms10
Active User
Joined: 10 Aug 2009 Posts: 184 Location: India
|
|
|
|
Hi All,
I am trying to browse a dataset from a REXX program
Code:
Code: |
/* REXX */
"ISREDIT MACRO"
ADDRESS ISREDIT
"BROWSE DATASET("ABCD.HLQ2.HLQ3.REPORT.DEC1311.T095232")"
exit
|
But I am getting following error message
Code: |
ISPF Edit Macro Error
Command ===>
******************************************************************************
* *
* Command in error . : BROWSE DATASET(ABCD.HLQ2.HLQ3.REPORT.DEC1311.T *
* *
* Invalid member name *
* Member name "DATASET(ABCD.HLQ2.HLQ3.REPORT.DEC1311.T095232)" exceeds *
* *
* Error message ID . : ISRE764 *
* *
* Last return code . : 12 *
* *
* Macro executing . : ZOOM *
* *
* Press ENTER key to terminate the macro. *
* *
* *
* *
******************************************************************************
|
Can you please help me, what is the problem with my code.
Thanks in advance.
Thanks,
Sati |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
Put the dataset name in single quotes |
|
Back to top |
|
|
Bill Woodger
Moderator Emeritus
Joined: 09 Mar 2011 Posts: 7309 Location: Inside the Matrix
|
|
|
|
Too many nodes in your dataset.
No sign of a membername. Haven't looked at the code. |
|
Back to top |
|
|
satish.ms10
Active User
Joined: 10 Aug 2009 Posts: 184 Location: India
|
|
|
|
Hi expat,
I tried by putting dataset name in single quotes but no luck same error with below messge
Code: |
ISPF Edit Macro Error
Command ===>
******************************************************************************
* *
* Command in error . : BROWSE DATASET('ABCD.HLQ2.HLQ3.REPORT.DEC1311. *
* *
* Invalid member name *
* Member name "DATASET('ABCD.HLQ2.HLQ3.REPORT.DEC1311.T095232')" excee *
* *
* Error message ID . : ISRE764 *
* *
* Last return code . : 12 *
* *
* Macro executing . : ZOOM *
* *
* Press ENTER key to terminate the macro. *
* *
* *
* *
******************************************************************************
|
Hi Bill,
I didn't get you. Can you please explain little more
Thanks
Sati |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
OMG
just looking at the five liner provided
Address ISREDIT BROWSE/VIEW/EDIT
takes as only <parameter> a string identifying a member of a PDS[e] being edited in the session where the macro is invoked
Address ISPEXEC BROWSE/VIEW/EDIT
on the other side takes a lot more parameters with a lot more of opportunities tio make mistakes
but the TS could have found it by himself just looking at the ISPF manuals here ( old but more than enough for the issue discussed )
publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/Shelves/ISPZPM70 |
|
Back to top |
|
|
don.leahy
Active Member
Joined: 06 Jul 2010 Posts: 765 Location: Whitby, ON, Canada
|
|
|
|
What happens if you change "ADDRESS ISREDIT" to "ADDRESS ISPEXEC"?
I suspect that it is trying to execute BROWSE as an edit subcommand. |
|
Back to top |
|
|
satish.ms10
Active User
Joined: 10 Aug 2009 Posts: 184 Location: India
|
|
|
|
I got it,
I am suppose to use
It's working fine now.
Thanks,
Sati |
|
Back to top |
|
|
Akatsukami
Global Moderator
Joined: 03 Oct 2009 Posts: 1788 Location: Bloomington, IL
|
|
|
|
The fine manual says:
Quote: |
ISRE764 Invalid member name - Member name "aaaaaaaa" exceeds 8-character allowable length.
Explanation:
The member name is invalid for the EDIT, VIEW, or BROWSE command.
User response:
The member name may not exceed 8 characters. Correct the member name and try the command again.
|
Does this offer any hints?
ETA: And both Dr. Sorichetti and Mr. Leahy got in ahead of me. Oh, well. |
|
Back to top |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
try ADDRESS ISPEXEC
instead of ISREDIT.
an ISREDIT BROWSE will only open an member of a PDS,
which is the same as the PDS which contains the current member (the one in which the ISREDIT MACRO is 'functioning')
you want an ISPF Service BROWSE |
|
Back to top |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
sorry for the post,
took so long to gather the links,
that 15 others answered the question before I did. |
|
Back to top |
|
|
don.leahy
Active Member
Joined: 06 Jul 2010 Posts: 765 Location: Whitby, ON, Canada
|
|
|
|
Could it be we all have too much time on our hands? |
|
Back to top |
|
|
|