View previous topic :: View next topic
|
Author |
Message |
mjadwani2785
New User
Joined: 28 Apr 2009 Posts: 89 Location: Noida , Dublin
|
|
|
|
/* rexx */
trace i
address ispexec
"isredit macro"
"isredit exclude all"
exit
Above is my rexx macro code.. its simple but has error. If i trace it it shows me rc=20.
when I trying to invoke it it says macro cannot be found even I have altlib activated the dataset.
Can anybody help? |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8796 Location: Welsh Wales
|
|
|
|
Foreground or batch ? Would hazard a guess at foreground but just to be sure
Invoked how |
|
Back to top |
|
|
mjadwani2785
New User
Joined: 28 Apr 2009 Posts: 89 Location: Noida , Dublin
|
|
|
|
Foreground or Batch I couldnt get you
I have created this sample file written some sample records.
Now on the command line I am writing the macro name.
It is saying the it(macroname) could not be found though the dataset in which macro reside is altlib activated. |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8796 Location: Welsh Wales
|
|
|
|
Do you run it from the session id that processed the ALTLIB |
|
Back to top |
|
|
mjadwani2785
New User
Joined: 28 Apr 2009 Posts: 89 Location: Noida , Dublin
|
|
|
|
Yep from the same ID from which I have logged in.
Actually I am new to this new company environment earlier I wrote codes without error and could not even found any sample code here to refer.
Can there be any chances of authorization or something. |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8796 Location: Welsh Wales
|
|
|
|
Not from the same ID that you logged in as
By session id I mean the screen (session) id
You process the ALTLIB from one of the open screens, and then without swapping screen you then try and execute the macro. |
|
Back to top |
|
|
mjadwani2785
New User
Joined: 28 Apr 2009 Posts: 89 Location: Noida , Dublin
|
|
|
|
.. this error I know .. anyways I sorted it out... I logdoff and logdin again altlib activated .. then it work(god knows how) becos I earlier also did the same but donno...
Thanks Expat once again you solved my prob |
|
Back to top |
|
|
PeterHolland
Global Moderator
Joined: 27 Oct 2009 Posts: 2481 Location: Netherlands, Amstelveen
|
|
|
|
IIRC ISPF does a Build Directory Entry List for its datasets. So it cant find a new entry. Going out of ISPF to the TSO prompt and starting ISPF will do the job. |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6248 Location: Mumbai, India
|
|
|
|
Quote: |
then it work(god knows how) becos I earlier also did the same but donno |
God wrote: |
Going out of ISPF to the TSO prompt and starting ISPF will do the job |
Peter - my nephew has got a long wish-list for this X'mas... |
|
Back to top |
|
|
PeterHolland
Global Moderator
Joined: 27 Oct 2009 Posts: 2481 Location: Netherlands, Amstelveen
|
|
|
|
Quote: |
Peter - my nephew has got a long wish-list for this X'mas...
|
Anuj,
with all respect, there is also a XMas in India? If yes how do people in India celebrate it? |
|
Back to top |
|
|
mjadwani2785
New User
Joined: 28 Apr 2009 Posts: 89 Location: Noida , Dublin
|
|
|
|
Quote: |
then it work(god knows how) becos I earlier also did the same but donno
God wrote:
Going out of ISPF to the TSO prompt and starting ISPF will do the job |
Nice one Anuj , it seems God prompted the same to me ;) ... |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6248 Location: Mumbai, India
|
|
|
|
Yes, X'Mas is celebrated in India too and with full conviction, Peter. A sizeable population of the Christian Community resides in Mumbai (of the Indian state of Maharashtra) and is mainly Roman Catholics. It is a delight to watch their homes during Christmas. |
|
Back to top |
|
|
Arun Raj
Moderator
Joined: 17 Oct 2006 Posts: 2481 Location: @my desk
|
|
|
|
Even non-Christian's do celebrate X'mas. Our X'Mas star has already started shining. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19243 Location: Inside the Matrix
|
|
|
|
Quote: |
Even non-Christian's do celebrate X'mas. |
Thanks to effective marketing
And i have long wondered who put the X in Christmas. . .
Some cheap sign-maker or newspaper/magazine printer perhaps. . .
d |
|
Back to top |
|
|
Akatsukami
Global Moderator
Joined: 03 Oct 2009 Posts: 1787 Location: Bloomington, IL
|
|
|
|
dick scherrer wrote: |
And i have long wondered who put the X in Christmas. . .
Some cheap sign-maker or newspaper/magazine printer perhaps. . . |
Some Hellenized Hittite, probably; I think that khi has been used as an abbreviation for Khristos since around the third century CE. |
|
Back to top |
|
|
Arun Raj
Moderator
Joined: 17 Oct 2006 Posts: 2481 Location: @my desk
|
|
|
|
Sorry for going offff topic.
Quote: |
And i have long wondered who put the X in Christmas |
The "-mas" part is from the Latin-derived Old English word for "mass", while the "X" comes from the Greek letter Chi, which is the first letter of the Greek word which translated as "Christ". |
|
Back to top |
|
|
|