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: 32
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

Senior Member


Joined: 15 Aug 2015
Posts: 1231
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: 32
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 Member


Joined: 01 Sep 2015
Posts: 712
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: 32
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 Running REXX through JOB CLIST & REXX 13
No new posts Error to read log with rexx CLIST & REXX 11
No new posts isfline didnt work in rexx at z/OS ve... CLIST & REXX 7
No new posts run rexx code with jcl CLIST & REXX 15
No new posts Execute secondary panel of sdsf with ... CLIST & REXX 1
Search our Forums:

Back to Top