Hi All,
I hope this is the correct forum for this topic.
I have some CLISTS on a Fujitsu mainframe. One of them simply edits a file if PFD editor (same sort of deal as ISPF editor). The trouble is, if the file has too many records, the CLIST fails with a Return Code of 20.
I was under the...
OK - I posted in the 4th post of mine - "It's a Fujitsu mainframe - does that make any difference ??"
The reason for posting here is that there ISN'T a separate Mainframe Utils/JCL type forum. It comes into the COBOL forum because most of you COBOL programmers and IBM mainframers out there...
I don't really mean to use this forum as a "debugging forum", but when I use your suggestion "SUM FIELDS=(NONE), my job abends with a "CONTROL STATEMENT ERROR". That's why I asked the above.
Here is my SORT Parm....
----+----1----+----2----+----3----+----4----+----5
/ SORT...
I am guessing you can sort a file to omit duplicates, but I don't know the correct syntax.
At present I have
SORT (X,Y,CH,A)
OMIT (X,Y,CH,EQ'*') (to omit comments with * column 1)
INPUT
OUTPUT
FIN
What's the syntax to remove duplicates please.
Cheers,
DK.
Hi All,
Question - I am developing code on a Fujitsu mainframe, so most of the utils are the same or similar to MVS, but I am not sure about this.... Can one put a comment into a SORT parm without making it fall over ?? I want to put a modification history into the parameter.
Current Sort...
Can anyone tell me please, if you can use the SORT utility to split a file into 2 (or more) other files...
ie.
/ SORT ( )
/ INCLUDE ( ) --> FILE1
/ OMIT ( ) --> FILE2
Or do I need to run the SORT utility twice.
Thanks,
DK.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.