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
 

 

Compare two dataset in column 1 to 71

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF
View previous topic :: :: View next topic  
Author Message
cser_oxygen

New User


Joined: 25 Oct 2006
Posts: 33

PostPosted: Wed Jan 02, 2008 3:19 pm    Post subject: Compare two dataset in column 1 to 71
Reply with quote

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
View user's profile Send private message

ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2360
Location: Israel

PostPosted: Wed Jan 02, 2008 6:05 pm    Post subject:
Reply with quote

Can you issue a COMPARE command from the dataset list panel (3.4)???

O.
Back to top
View user's profile Send private message
cser_oxygen

New User


Joined: 25 Oct 2006
Posts: 33

PostPosted: Wed Jan 02, 2008 8:38 pm    Post subject:
Reply with quote

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
View user's profile Send private message
cser_oxygen

New User


Joined: 25 Oct 2006
Posts: 33

PostPosted: Wed Jan 02, 2008 11:09 pm    Post subject:
Reply with quote

anyone can provide some information on this issue?

Thanks
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2360
Location: Israel

PostPosted: Wed Jan 02, 2008 11:21 pm    Post subject:
Reply with quote

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
View user's profile Send private message
Phrzby Phil

Active Member


Joined: 31 Oct 2006
Posts: 962
Location: Richmond, Virginia

PostPosted: Wed Jan 02, 2008 11:53 pm    Post subject:
Reply with quote

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
Quote:
CMPCOLM 1:71
Back to top
View user's profile Send private message
stodolas

Active Member


Joined: 13 Jun 2007
Posts: 632
Location: Wisconsin

PostPosted: Thu Jan 03, 2008 1:12 am    Post subject:
Reply with quote

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
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2360
Location: Israel

PostPosted: Thu Jan 03, 2008 1:19 am    Post subject:
Reply with quote

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
View user's profile Send private message
cser_oxygen

New User


Joined: 25 Oct 2006
Posts: 33

PostPosted: Thu Jan 03, 2008 12:41 pm    Post subject:
Reply with quote

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
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2360
Location: Israel

PostPosted: Thu Jan 03, 2008 1:02 pm    Post subject:
Reply with quote

You probably have other file allocated to SYSIN....

O.
Back to top
View user's profile Send private message
cser_oxygen

New User


Joined: 25 Oct 2006
Posts: 33

PostPosted: Sat Jan 05, 2008 1:32 pm    Post subject:
Reply with quote

Hi O,

How can I allocate a dataset to the speific SYSIN?
Could U please provide more detail?

Thanks
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2360
Location: Israel

PostPosted: Sun Jan 06, 2008 1:48 am    Post subject:
Reply with quote

Use the FREE & ALLOCATE commands.

O.
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 -> TSO/ISPF All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts fuzzy compare Martylin JCL & VSAM 6 Thu Mar 30, 2017 2:45 pm
No new posts Unable to catalog a gdg dataset resid... Shovan JCL & VSAM 7 Fri Mar 24, 2017 2:24 pm
No new posts Want to pull the job log into a Mainf... Jishu Mukherjee Compuware & Other Tools 9 Tue Mar 21, 2017 4:48 pm
No new posts JCL to get submitted once dataset has... vinu78 JCL & VSAM 17 Thu Feb 16, 2017 7:32 am
No new posts Storing huge volume of data, compare ... Pradeep K M All Other Mainframe Topics 3 Mon Jan 16, 2017 5:08 pm


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