View previous topic :: View next topic
|
Author |
Message |
cser_oxygen
New User
Joined: 25 Oct 2006 Posts: 33
|
|
|
|
Can I use COMPARE in command line to get a result which just has comparison from column 1 to 71? I know how to do it in 3.13, but not in 3.4 command line.
Thanks! |
|
Back to top |
|
|
ofer71
Global Moderator
Joined: 27 Dec 2005 Posts: 2358 Location: Israel
|
|
|
|
Can you issue a COMPARE command from the dataset list panel (3.4)???
O. |
|
Back to top |
|
|
cser_oxygen
New User
Joined: 25 Oct 2006 Posts: 33
|
|
|
|
No, I meant I wanna to compare 2 members (column 1 to 71) using by COMPARE command in EDIT or VIEW mode.
Sorry for make you confuse. |
|
Back to top |
|
|
cser_oxygen
New User
Joined: 25 Oct 2006 Posts: 33
|
|
|
|
anyone can provide some information on this issue?
Thanks |
|
Back to top |
|
|
ofer71
Global Moderator
Joined: 27 Dec 2005 Posts: 2358 Location: Israel
|
|
|
|
Sure you can.
When you execute the ISPF Editor Command COMPARE, ISPF invokes SUPERC in the background.
As with SUPERC, you can provide your process statements (like CMPCOLM) in SYSIN.
For more information, please refer to the fine manual.
O. |
|
Back to top |
|
|
Phrzby Phil
Senior Member
Joined: 31 Oct 2006 Posts: 1050 Location: Richmond, Virginia
|
|
|
|
Cool - I never knew this.
BUT - I see no way to specify columns to compare. I tried setting the bounds (line comand BND), but the compare ignored that.
You'll need to use SUPERCE with a Stateents DSN containing
|
|
Back to top |
|
|
stodolas
Active Member
Joined: 13 Jun 2007 Posts: 631 Location: Wisconsin
|
|
|
|
If it is a case of line numbers in the columns 72:80 you could just issue run a RENUM (to ensure all lines have numbers), then UNNUM (to clear all the numbers. |
|
Back to top |
|
|
ofer71
Global Moderator
Joined: 27 Dec 2005 Posts: 2358 Location: Israel
|
|
|
|
Guys, I gave you all the clues:
1. Create a dataset which contains only one record, with the following data in it: CMPCOLM 1:71
2. Allocate that dataset to SYSIN.
3. Go into ISPF Editor, then type COMPARE SYSIN.
O. |
|
Back to top |
|
|
cser_oxygen
New User
Joined: 25 Oct 2006 Posts: 33
|
|
|
|
Hi O
I have followed your clues step by step, after I enterd COMPARE DSNNAME SYSIN, something strange happened, all my keys are not working anymore, such as PF3, F12, ENTER, then I had to shut my session down and re-startup.
Do you know why this happened?
Thanks
Galen |
|
Back to top |
|
|
ofer71
Global Moderator
Joined: 27 Dec 2005 Posts: 2358 Location: Israel
|
|
|
|
You probably have other file allocated to SYSIN....
O. |
|
Back to top |
|
|
cser_oxygen
New User
Joined: 25 Oct 2006 Posts: 33
|
|
|
|
Hi O,
How can I allocate a dataset to the speific SYSIN?
Could U please provide more detail?
Thanks |
|
Back to top |
|
|
ofer71
Global Moderator
Joined: 27 Dec 2005 Posts: 2358 Location: Israel
|
|
|
|
Use the FREE & ALLOCATE commands.
O. |
|
Back to top |
|
|
|