IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

process statement for SUPREC, CMPCOLM in REXX


IBM Mainframe Forums -> TSO/ISPF
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Mahsa Rouzkhatouni

New User


Joined: 27 Feb 2021
Posts: 33
Location: Germany

PostPosted: Sun Aug 08, 2021 10:56 am
Reply with quote

Hi everybody,

I am using SUPERC in my REXX program for comparing two datasets.
so far I have used
Code:
 PARMS = "DELTAL,LINECMP,SEQ"
for line comparison and it worked fine.
Now I need to compare specific columns of these datasets. I found out that for column comparison there is the CMPCOLM parameter that in JCL goes as
Code:
 CMPCOLM 25:75
but cannot be used like this in REXX.

so how can I use this in my REXX instead of LINECMP in this:
Code:
 PARMS = "DELTAL,LINECMP,SEQ"

any ideas?


Thanks in advance,
Mahsa Rouzkhatouni
Back to top
View user's profile Send private message
Joerg.Findeisen

Active Member


Joined: 15 Aug 2015
Posts: 623
Location: Bamberg, Germany

PostPosted: Sun Aug 08, 2021 11:54 am
Reply with quote

Use a DD:SYSIN for the additional PARM of CMPCOLM 25:75, that's it.
Back to top
View user's profile Send private message
Mahsa Rouzkhatouni

New User


Joined: 27 Feb 2021
Posts: 33
Location: Germany

PostPosted: Sun Aug 08, 2021 12:17 pm
Reply with quote

Joerg.Findeisen wrote:
Use a DD:SYSIN for the additional PARM of CMPCOLM 25:75, that's it.


Thanks for the answer.
It's properly done icon_smile.gif
Back to top
View user's profile Send private message
Willy Jensen

Active User


Joined: 01 Sep 2015
Posts: 498
Location: Denmark

PostPosted: Sun Aug 08, 2021 6:08 pm
Reply with quote

Note that you can use an alternate DDname for SYSIN, i.e.
cc=Bpxwdyn('alloc dd(supci) .....')
p='COVSUM NARROW ALLMEMS SYSIN(SUPCI)'
Address attchmvs "ISRSUPC P"
Back to top
View user's profile Send private message
Mahsa Rouzkhatouni

New User


Joined: 27 Feb 2021
Posts: 33
Location: Germany

PostPosted: Mon Aug 09, 2021 10:35 am
Reply with quote

Joerg.Findeisen wrote:
that's it.


Now the other question is that is it possible to increase read-ahead synchronization limit when programming?

In the SuperC panel it is mentioned that the max. limit is 999. now I have 2 files that they might have higher difference in record line and I need to capture them too.

any ideas?

and more importantly, I don't know how to include read-ahead synchronization in my REXX parameters, couldn't fine an example.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> TSO/ISPF

 


Similar Topics
Topic Forum Replies
No new posts Tilde Characters Changing to COLONs i... CLIST & REXX 17
No new posts DSN REXX VARBINARY inserts CLIST & REXX 4
No new posts How to modify file content using REXX CLIST & REXX 3
No new posts Same command as on commandline in REX... TSO/ISPF 6
No new posts REXX SDSF filtering CLIST & REXX 8
Search our Forums:

Back to Top