Author |
Message |
Topic: How to count the number of lines in a file |
DeX
Replies: 8
Views: 4784
|
Forum: Utilities Posted: Thu Jul 26, 2007 3:37 pm Subject: How to count the number of lines in a file |
Kolusu,
I'm trying the DFSORT solution but no matter how many lines the input file is, it still finishes with a RC 0 |
Topic: How to count the number of lines in a file |
DeX
Replies: 8
Views: 4784
|
Forum: Utilities Posted: Wed Jul 25, 2007 1:37 pm Subject: How to count the number of lines in a file |
Thank you very much. We'll be testing and implementing for next week. I'll let you know how it turns out!
 |
Topic: How to count the number of lines in a file |
DeX
Replies: 8
Views: 4784
|
Forum: Utilities Posted: Wed Jul 25, 2007 1:16 pm Subject: How to count the number of lines in a file |
in the SYNCSORT solution, you have:
OUTFIL INCLUDE=INCLUDE=(1,1,CH,EQ,C'*',AND,2,8,ZD,GT,11)
is the first include= a typo or should it be there?
also what are the main differences between the ... |
Topic: How to count the number of lines in a file |
DeX
Replies: 8
Views: 4784
|
Forum: Utilities Posted: Wed Jul 25, 2007 9:25 am Subject: How to count the number of lines in a file |
INPUT FILE:
RECFM=FB
LRECL=80
The header is always 11 lines and always starts with a '*' the data to be read in by the application starts at line 12 col 1 |
Topic: How to count the number of lines in a file |
DeX
Replies: 8
Views: 4784
|
Forum: Utilities Posted: Wed Jul 25, 2007 8:46 am Subject: How to count the number of lines in a file |
I am reading in a file that has a header of 11 lines
*---------
*
*
* HEADER TEXT
*
* MORE HEADER TEXT
* RANDOM STUFF
* MORE
* INFO HERE
* ++!!
*---+----1 ... |
Topic: Adding columns of Duplicate records together |
DeX
Replies: 4
Views: 2095
|
Forum: Utilities Posted: Fri Jun 15, 2007 2:35 pm Subject: Adding columns of Duplicate records together |
DeX
which format is the amount(last field in your i/p) present in your file?
Sorry the agentid is only 6 characters wide.
Also, the file DCB=(RECFM=VB,LRECL=304,BLKSIZE=23412)
VARS F ... |
Topic: Adding columns of Duplicate records together |
DeX
Replies: 4
Views: 2095
|
Forum: Utilities Posted: Thu Jun 14, 2007 9:39 pm Subject: Adding columns of Duplicate records together |
I am wondering if anyone can help me with figuring out a solution on how I can get this achieved.
I have a feed that contains thousands of records and I have to roll them up (summarize). The unique ... |
|