View previous topic :: View next topic
|
Author |
Message |
awyn
New User
Joined: 11 Feb 2008 Posts: 49 Location: chennai
|
|
|
|
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 |
|
|
Aaru
Senior Member
Joined: 03 Jul 2007 Posts: 1287 Location: Chennai, India
|
|
|
|
Hi,
New line in REXX - Hexadecimal Value 0A.
I have not used this before. Check and let us know. |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
Is PCOMM a site specific thing - it isn't in my ISPF concatenations |
|
Back to top |
|
|
awyn
New User
Joined: 11 Feb 2008 Posts: 49 Location: chennai
|
|
|
|
hi, can u tell me how to give tab through rexx in spool |
|
Back to top |
|
|
Aaru
Senior Member
Joined: 03 Jul 2007 Posts: 1287 Location: Chennai, India
|
|
|
|
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 |
|
|
awyn
New User
Joined: 11 Feb 2008 Posts: 49 Location: chennai
|
|
|
|
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 |
|
|
Selva-kumar
New User
Joined: 01 Mar 2007 Posts: 52 Location: chennai
|
|
|
|
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 |
|
|
Ranjithkumar
New User
Joined: 10 Sep 2008 Posts: 93 Location: India
|
|
|
|
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 |
|
|
awyn
New User
Joined: 11 Feb 2008 Posts: 49 Location: chennai
|
|
|
|
what is this IKJXXXXXX |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
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 |
|
|
awyn
New User
Joined: 11 Feb 2008 Posts: 49 Location: chennai
|
|
|
|
ya thanks , I got it |
|
Back to top |
|
|
awyn
New User
Joined: 11 Feb 2008 Posts: 49 Location: chennai
|
|
|
|
But how to list all the jobids irrespetive of the jobs in the userid for one particular owner |
|
Back to top |
|
|
Selva-kumar
New User
Joined: 01 Mar 2007 Posts: 52 Location: chennai
|
|
|
|
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 |
|
|
Pedro
Global Moderator
Joined: 01 Sep 2006 Posts: 2547 Location: Silicon Valley
|
|
|
|
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 |
|
|
|