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
 

 

The ISPF 3.13 comparison option to ignore particular positin

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

New User


Joined: 28 Nov 2010
Posts: 53
Location: Mumbai

PostPosted: Tue Apr 29, 2014 12:58 pm    Post subject: The ISPF 3.13 comparison option to ignore particular positin
Reply with quote

Hi ,

I have few records in my input file, but I need ignore comparison of particular position in particular record, below is the example.

File 1:-

acbd efgh i jckl
1234 5468 8 10 1213
IJKL MNQP REQ
AAAA BBBB CCC DDD

File 2:-
acbd efgh i jckl
1234 9999 8 10 1213
IJKL MNQP REQ
AAAA BBBB CCC DDD


here I need to compare all the records one to one, this can be done using 3.13, but my condition is while comparing second record I need to ignore 6th position to 10th position, do we have any option for this kind of comparison,

Please provide me if is there any option ?
1. here if key is '1234' then 6th to 10th position needs to be ignored

Regards,
Pavan Kumar.M
Back to top
View user's profile Send private message

enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10202
Location: italy

PostPosted: Tue Apr 29, 2014 1:04 pm    Post subject: Reply to: The ISPF 3.13 comparison option to ignore particul
Reply with quote

Quote:
Please provide me if is there any option ?


NO!

superc is content agnostic
You can choose what columns compare ,
but the comparison will be carried on for all the records
Back to top
View user's profile Send private message
Pavankumar.m
Warnings : 1

New User


Joined: 28 Nov 2010
Posts: 53
Location: Mumbai

PostPosted: Tue Apr 29, 2014 1:24 pm    Post subject: Reply to: The ISPF 3.13 comparison option to ignore particul
Reply with quote

Thank you enrico for confirming on this.
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Wed Apr 30, 2014 2:04 am    Post subject:
Reply with quote

Hello,

Depending on your particular situation, you could copy the files forcing a common value into those positions and then they would compare equal . . .
Back to top
View user's profile Send private message
nartcr

New User


Joined: 06 Jun 2007
Posts: 73
Location: Chicago

PostPosted: Wed Apr 30, 2014 3:29 am    Post subject:
Reply with quote

Please submit through batch instead of foreground, and add CMPCOLM statement in SYSIN DD* statements for all columns except from 6 to 10.

If this doesnt work for your requirement, you can use sort to achieve the same.
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10202
Location: italy

PostPosted: Wed Apr 30, 2014 4:12 am    Post subject: Reply to: The ISPF 3.13 comparison option to ignore particul
Reply with quote

did You notice that the TS requirement is NOT to ignore columns 6-10 always
but to ignore them ONLY for the second record or when the first 4 positions contain some predefined value
???
Back to top
View user's profile Send private message
nartcr

New User


Joined: 06 Jun 2007
Posts: 73
Location: Chicago

PostPosted: Wed Apr 30, 2014 4:32 am    Post subject: Reply to: The ISPF 3.13 comparison option to ignore particul
Reply with quote

Sorry, please ignore my comments above.
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 BWO option in VSAM blayek CICS 3 Sat Nov 05, 2016 10:47 am
No new posts CICS NEW SIT PARAMETERS CICS BEHAVIOR... Kyle Carroll CICS 0 Fri Nov 04, 2016 11:55 pm
No new posts Regarding COBOL Stored Procedure opti... selvamsrinivasan85 DB2 4 Fri Nov 04, 2016 8:57 pm
No new posts ISPF program to set SCRNAME prino TSO/ISPF 5 Fri Sep 30, 2016 2:18 pm
No new posts I am unable to use SWAPBAR ON command... mrsidhu12 TSO/ISPF 3 Thu Sep 01, 2016 1:10 pm


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