IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Newline in rexx


IBM Mainframe Forums -> CLIST & REXX
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
awyn

New User


Joined: 11 Feb 2008
Posts: 49
Location: chennai

PostPosted: Thu Sep 11, 2008 11:30 am
Reply with quote

Hi all,
As in PCOMM macro we have option to go to newline automatically by giving the commands , is there anything like that in rexx .
Back to top
View user's profile Send private message
Aaru

Senior Member


Joined: 03 Jul 2007
Posts: 1287
Location: Chennai, India

PostPosted: Thu Sep 11, 2008 12:45 pm
Reply with quote

Hi,

New line in REXX - Hexadecimal Value 0A.

I have not used this before. Check and let us know.
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Thu Sep 11, 2008 12:47 pm
Reply with quote

Is PCOMM a site specific thing - it isn't in my ISPF concatenations
Back to top
View user's profile Send private message
awyn

New User


Joined: 11 Feb 2008
Posts: 49
Location: chennai

PostPosted: Thu Sep 11, 2008 1:32 pm
Reply with quote

hi, can u tell me how to give tab through rexx in spool
Back to top
View user's profile Send private message
Aaru

Senior Member


Joined: 03 Jul 2007
Posts: 1287
Location: Chennai, India

PostPosted: Thu Sep 11, 2008 2:02 pm
Reply with quote

Awyn,

Quote:
hi, can u tell me how to give tab through rexx in spool


Your question is not at all clear. Your queries would be answered only if it is clear. Post the requirements again.

Please start a new topic when you post a new requirement.
Back to top
View user's profile Send private message
awyn

New User


Joined: 11 Feb 2008
Posts: 49
Location: chennai

PostPosted: Thu Sep 11, 2008 2:09 pm
Reply with quote

Actualy i want to strip all the job id in the spool and put it into an array, so i was asking how to use the tab key to goto each line and extract the jobid
Back to top
View user's profile Send private message
Selva-kumar

New User


Joined: 01 Mar 2007
Posts: 52
Location: chennai

PostPosted: Thu Sep 11, 2008 2:49 pm
Reply with quote

Hi,

If you want all the jobids in a spool, you can use TSO STATUS command.It will display the list of all jobs in following format.

Code:

IKJXXXXXX JOB Userid(JOBID) ON OUTPUT QUEUE


You can OUTTRAP the result to an array and strip the JOBID alone.
Back to top
View user's profile Send private message
Ranjithkumar

New User


Joined: 10 Sep 2008
Posts: 93
Location: India

PostPosted: Thu Sep 11, 2008 2:56 pm
Reply with quote

Selva-kumar wrote:
Hi,

If you want all the jobids in a spool, you can use TSO STATUS command.It will display the list of all jobs in following format.

Code:

IKJXXXXXX JOB Userid(JOBID) ON OUTPUT QUEUE


You can OUTTRAP the result to an array and strip the JOBID alone.


This will display the list only for the user's jobs. Any option available to specify the userid or jobname ?
Back to top
View user's profile Send private message
awyn

New User


Joined: 11 Feb 2008
Posts: 49
Location: chennai

PostPosted: Thu Sep 11, 2008 3:03 pm
Reply with quote

what is this IKJXXXXXX
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Thu Sep 11, 2008 3:04 pm
Reply with quote

Quote:
This will display the list only for the user's jobs. Any option available to specify the userid or jobname ?

Then you should set the prefix / owner fields to the required values.
Back to top
View user's profile Send private message
awyn

New User


Joined: 11 Feb 2008
Posts: 49
Location: chennai

PostPosted: Thu Sep 11, 2008 3:11 pm
Reply with quote

ya thanks , I got it
Back to top
View user's profile Send private message
awyn

New User


Joined: 11 Feb 2008
Posts: 49
Location: chennai

PostPosted: Thu Sep 11, 2008 3:19 pm
Reply with quote

But how to list all the jobids irrespetive of the jobs in the userid for one particular owner
Back to top
View user's profile Send private message
Selva-kumar

New User


Joined: 01 Mar 2007
Posts: 52
Location: chennai

PostPosted: Thu Sep 11, 2008 6:04 pm
Reply with quote

Hi,

Quote:
what is this IKJXXXXXX


These are terminal messages and it will b in the form of IKJxxyyyn
xx System module prefix
yyy Message serial number identifying the program that issued the message.
n Type code:

A Action. The terminal user must perform the action specified in the message text.
E Error; processing terminates.
I Information; no action is required.
Back to top
View user's profile Send private message
Pedro

Global Moderator


Joined: 01 Sep 2006
Posts: 2547
Location: Silicon Valley

PostPosted: Thu Sep 11, 2008 10:28 pm
Reply with quote

I think what you want is to use batch SDSF invocation called from a rexx program.

Use OWNER command to filter by particular job owner. You might not be authorized.

Use H option to display completed jobs.

Quote:
Is PCOMM a site specific thing - it isn't in my ISPF concatenations

Actually, it is IBM's terminal emulator. Not relevant to discussion, though.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CLIST & REXX

 


Similar Topics
Topic Forum Replies
No new posts Compile Several JCL JOB Through one r... CLIST & REXX 4
No new posts Running REXX through JOB CLIST & REXX 13
No new posts Error to read log with rexx CLIST & REXX 11
No new posts isfline didnt work in rexx at z/OS ve... CLIST & REXX 7
No new posts run rexx code with jcl CLIST & REXX 15
Search our Forums:

Back to Top