Portal | IBM Manuals | Downloads | Products | Refer | Info | Programs | JCLs | Forum Rules*| Site Map | Mainframe CD 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index
 
Register
 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index FAQ Search Memberlist Usergroups Profile Log in to check your private messages Log in
 
Extract the particular column's data from the PS

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CLIST & REXX
Author Message
Soundammal.S

New User


Joined: 05 May 2008
Posts: 13
Location: Chennai

PostPosted: Tue Jul 29, 2008 11:12 am    Post subject: Extract the particular column's data from the PS
Reply with quote

Hi all,

In a PS, our fault analyzer abend code will be collected. Through REXX, i want to extract the ABEND CODE in the columns 157 to 160 from the PS. Plz help me out...
Back to top
View user's profile Send private message
References
Prasanthhere

Active User


Joined: 03 Aug 2005
Posts: 297

PostPosted: Tue Jul 29, 2008 11:17 am    Post subject: Reply to: Extract the particular column's data from the PS
Reply with quote

Do u want to extract the columns from 157 to 160 to a new ps .Is that your requirement ..

If Thats the requirement you can use OutRec option
Back to top
View user's profile Send private message
dick scherrer

Global Moderator


Joined: 23 Nov 2006
Posts: 8771
Location: 221 B Baker St

PostPosted: Tue Jul 29, 2008 11:29 am    Post subject:
Reply with quote

Hello,

I'm not familiar with "outrec" in rexx.

Did you test this before posting?
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 3564
Location: Brussels once more ...

PostPosted: Tue Jul 29, 2008 12:16 pm    Post subject:
Reply with quote

Take a look at the PARSE or SUBSTR parameters.

Look HERE

Quote:
Hello,
I'm not familiar with "outrec" in rexx.
Did you test this before posting?

Yes, more info on the REXX outrec function please.
Back to top
View user's profile Send private message
Soundammal.S

New User


Joined: 05 May 2008
Posts: 13
Location: Chennai

PostPosted: Tue Jul 29, 2008 12:39 pm    Post subject: Extract the particular column's data from the PS
Reply with quote

Can anyone help me with the full REXX code to extract the cols 157 to 160 to a PS ?
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 3564
Location: Brussels once more ...

PostPosted: Tue Jul 29, 2008 1:35 pm    Post subject:
Reply with quote

Soundammal.S

As I have said once already this morning, please DO NOT ask for code on the forum.
This is a help forum and not a 'get it done free' forum.

I have provided you with the link to the REXX reference manual, so off you go and have a good read. When you have problems on what you are trying to do and can post code and output, please feel free so to do.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CLIST & REXX All times are GMT + 6 Hours
Page 1 of 1