RC 4 in GETMSG create CONSOLE



IBM's Command List programming language & Restructured Extended Executor

Re: rc 4 in GETMSG

Postby v1gnesh » Tue Aug 14, 2012 4:59 pm

Thanks Enrico, I'll give this a try.
The fact is, the EMC command I'm trying, gives the response after a small delay. I'm able to get the output using the @SYSCMD program example that's given in "Implementing REXX support in SDSF" guide but not able to with the working examples given above. I'm trying not to rely on pre-written functions.
boyo
v1gnesh
 
Posts: 72
Joined: Wed Sep 28, 2011 8:24 pm
Has thanked: 1 time
Been thanked: 0 time

Re: Re: rc 4 in GETMSG

 

Re: rc 4 in GETMSG

Postby enrico-sorichetti » Tue Aug 14, 2012 5:21 pm

I am so used to some <standard> coding that some <errors> never occur :mrgreen:

using getmsg I <always> use the <timeout> argument ( 120 in my snippet )
so a slow response from the console command processor seldom bothers me

/soapbox on

I am very picky about jcl appearence,
good alignment, continuation at column 16 and friends

so a loong time ago performing an OS_390 installation
I got a worried call from the IBM support center for a sev 1 apar
( for a badly written jcl that would cause some install steps to fail )

when I said that I had not had any problems .... they wondered why
and somebody lost two days reserching why my client distribution tapes were good

after a while I realized that my pickiness had saved me
seeing a badly written jcl I had reformatted everything before running the whole jobstream
avoiding the jcl error

I was good enough to tell them ;)

/soapbox off
cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort
enrico-sorichetti
Global moderator
 
Posts: 2644
Joined: Fri Apr 18, 2008 11:25 pm
Has thanked: 0 time
Been thanked: 130 times

Re: rc 4 in GETMSG

Postby v1gnesh » Tue Aug 14, 2012 5:29 pm

120? Woah. I thought 60 was the limit! I'll try this and get back to you tomorrow.

:mrgreen: One of the clients I work for does that too. It blows my mind each time I see his JCL or REXX or ASM, and I wonder - if he uses an IDE on his desktop for this. Editing in the mainframe is rather unpleasant.

EDIT: I'll be running this using IKJEFT01 in batch. Could that be the reason by any chance? I've tried with 60 and i still get no lines; though when I manually give the command, I get the lines well ahead of 60 seconds.
boyo
v1gnesh
 
Posts: 72
Joined: Wed Sep 28, 2011 8:24 pm
Has thanked: 1 time
Been thanked: 0 time

Previous

Return to CLIST & REXX

 


  • Related topics
    Replies
    Views
    Last post