Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Newline in rexx

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CLIST & REXX
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    Post subject: Newline in rexx
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: 1288
Location: Chennai, India

PostPosted: Thu Sep 11, 2008 12:45 pm    Post subject: Reply to: Newline in rexx
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: 8593
Location: Back in jolly old England

PostPosted: Thu Sep 11, 2008 12:47 pm    Post subject:
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    Post subject:
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: 1288
Location: Chennai, India

PostPosted: Thu Sep 11, 2008 2:02 pm    Post subject: Reply to: Newline in rexx
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    Post subject:
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    Post subject: Reply to: Newline in rexx
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: 94
Location: India

PostPosted: Thu Sep 11, 2008 2:56 pm    Post subject: Re: Reply to: Newline in rexx
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    Post subject:
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: 8593
Location: Back in jolly old England

PostPosted: Thu Sep 11, 2008 3:04 pm    Post subject:
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    Post subject:
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    Post subject:
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    Post subject: Reply to: Newline in rexx
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

Senior Member


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

PostPosted: Thu Sep 11, 2008 10:28 pm    Post subject: Reply to: Newline in rexx
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    IBMMAINFRAMES.com Support Forums -> CLIST & REXX All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts REXX cdoe to purge a JOB from spool a... Sulabh Agrawal CLIST & REXX 11 Thu Mar 09, 2017 11:36 am
No new posts Overriding PS data in rexx Shaheen Shaik CLIST & REXX 8 Fri Mar 03, 2017 5:08 pm
No new posts REXX compiled via RXTCOMP sergeyken CLIST & REXX 7 Tue Feb 07, 2017 9:41 pm
This topic is locked: you cannot edit posts or make replies. Calling REXX code from ISPF panel sanchita dey TSO/ISPF 4 Mon Jan 02, 2017 5:13 pm
No new posts REXX DB2: Dynamic allocation of DB2.D... BHAS CLIST & REXX 3 Mon Dec 19, 2016 8:26 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us