View previous topic :: View next topic |
Author |
Message |
Martin Beginner

Joined: 20 Mar 2006 Posts: 133 Topics: 58
|
Posted: Mon Mar 20, 2006 10:58 am Post subject: Insert new line based on criteria |
|
|
Hi All,
My requriement is to insert new lines into members based on some criteria.
Say:- The lines tht needs to inserted are in PS file.
scan thru the program.
If character " MVS FORUM" and line before this has a space
Insert lines from the ps file.
Can any one help me with this? |
|
Back to top |
|
 |
kolusu Site Admin

Joined: 26 Nov 2002 Posts: 12378 Topics: 75 Location: San Jose
|
|
Back to top |
|
 |
Martin Beginner

Joined: 20 Mar 2006 Posts: 133 Topics: 58
|
Posted: Mon Mar 20, 2006 12:01 pm Post subject: |
|
|
kolusu,
I tried using the utlity mentioned in the link,But its gicing me the below error:-
STMT 107 - LABEL MSGDISP SPECIFIED BUT COMMAND NOT FOUND |
|
Back to top |
|
 |
Phantom Data Mgmt Moderator

Joined: 07 Jan 2003 Posts: 1056 Topics: 91 Location: The Blue Planet
|
Posted: Wed Mar 22, 2006 3:39 am Post subject: |
|
|
Martin,
Did you code the MSGDISP para in your rexx routine.
Code: |
MSGDISP:
If env = "TSO" Then Do
"ISPEXEC SETMSG MSG(WKMM000B)"
End
Else Do
Say smsg "-" lmsg
End
Return 0
|
If you have done that, then pls show us the complete code you are running so that we can see what might have gone wrong.
Thanks,
Phantom |
|
Back to top |
|
 |
|
|