× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



 
 HSORTR    24A        3X  83 N N
 I
 FNC  10  17                       ACCOUNT
 FNC   4   5                       EXCH
 FNC   2   3                       FC
 FNC  25  26                       YEAR
 FNC  23  24                       MONTH
 FNC  58  58                       P/C
 FNC  39  43                       STRIKE
 FNC  76  77                       PROMPT DAY
 FDC   1  83
 
 This is a record sort with a 24 column field to be sorted in ascending
order, It will give no warning errors. The final record will be 83
characters long.
"FNC" means Field, normal, characters. "Account" is a comment. The first
sorted field is from column 10 through 17. Then, in the following ranking,
columns 4 &5, 2&3, 25 &26, 23 &24, 58, 39 through 43, 76&77.  Those fields
should be about 24 columns long although I haven't added them to see.
"FDC" means "Field, Data, Character and is column 1 through 83.

If the comments are accurate the file YCP05310S will have 83-column records
ranked in this manner: Account, EXCH, FC, YEAR, MONTH, P/C, STRIKE, PROMPT
DAY.  (Notice that YEAR is YY and if this has pre-2000 data you have a Y2K
issue to deal with.)  The data will be exactly as it was originally. 

 
---------------------------------------------------------
Booth Martin   http://www.MartinVT.com
Booth@xxxxxxxxxxxx
---------------------------------------------------------
 
-------Original Message-------
 
From: Midrange Systems Technical Discussion
Date: 02/24/04 07:21:42
To: Midrange Systems Technical Discussion
Subject: TEXT file doubt
 
Good Morning friends,
 
I have the following command in my CL
 
FMTDTA     INFILE((&FLIB/YCP05305)) +
 
             OUTFILE(&FLIB/YWKCP53T) +
 
             SRCFILE(YGSC/QDDSSRC) SRCMBR(YCP05310S) +
             OPTION(*NOPRT)
 
 
I know that some sorting is going on the infile
YCP05305  and producing the outfile YWKCP53T
based on the selection criteria written in the text
file YCP05310S.
when i saw this text file YCP05310S, i could see
following
 HSORTR    24A        3X  83 N N
 I
 FNC  10  17                       ACCOUNT
 FNC   4   5                       EXCH
 FNC   2   3                       FC
 FNC  25  26                       YEAR
 FNC  23  24                       MONTH
 FNC  58  58                       P/C
 FNC  39  43                       STRIKE
 FNC  76  77                       PROMPT DAY
 FDC   1  83
Can anyone let me know how the selection criteria is
happening here in the above text file(what is this
code doing), I could not understand. Also I have seen
some folks suggesting some time back some manual on
this textfiles to read.
I request you post it again  , Thanks so much for your
help! If more info is required plz ask me.

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.