Awesome this is exactly what i was after
On Wednesday, December 19, 2018 at 1:43:49 AM UTC+10, pat wrote:
>
> You can create a file containing 'definitions' for Default Dictionary items
>
> eg :
>
> CREATE-FILE DATA DEFDICT 1
>
> ED DEFDICT *A2
>
> 001 D
> 002 2
> 003
> 004 Attr 2
> 005 3R
>
> export / set JBCDEFDICTS=DEFDICT
>
> LIST DICT file BY *A2 *A2
>
> should display in your expected [ Right Justified ] Sort order
>
> Merry Christmas
>
> On Tuesday, 3 July 2018 00:31:12 UTC+1, Caleb Jeffery wrote:
>>
>> HI Bruce I Tried this solution but the sorting is not sorting based on
>> Numeric Value
>> I am doin a LIST DICT filename BY *a2 *a2 FMT "3R"
>> No luck
>> Thanks for replying though
>>
>> On Tuesday, June 19, 2018 at 10:12:19 PM UTC+10, Bruce Willmore wrote:
>>>
>>> LIST filename BY *a2 *a1 *a2 FMT “20R”
>>>
>>> will do the trick.
>>>
>>> *From:* Caleb Jeffery
>>> *Sent:* Tuesday, June 19, 2018 1:32 AM
>>> *To:* jBASE
>>> *Subject:* jql select and sort by numeric without using dictionary
>>> lookup
>>>
>>> Hi
>>> Is it possible to do a jql LIST *a1 *a2 BY (*a2 FMT "20R")
>>> without using the dictionary lookup?
>>>
>>> I find my self wanting to do cmd line sorted list sorting by an *A{n}
>>> attribute that always defaults to alphanumeric sort order however I would
>>> like to overwrite that sort order at cmd line instead of having to setup a
>>> dictionary item.
>>>
>>> --
>>> --
>>> IMPORTANT: T24/Globus posts are no longer accepted on this forum.
>>>
>>> To post, send email to [email protected]
>>> To unsubscribe, send email to [email protected]
>>> For more options, visit this group at
>>> http://groups.google.com/group/jBASE?hl=en
>>>
>>> ---
>>> You received this message because you are subscribed to the Google
>>> Groups "jBASE" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to [email protected].
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
--
--
IMPORTANT: T24/Globus posts are no longer accepted on this forum.
To post, send email to [email protected]
To unsubscribe, send email to [email protected]
For more options, visit this group at http://groups.google.com/group/jBASE?hl=en
---
You received this message because you are subscribed to the Google Groups
"jBASE" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/jbase/baf4e09b-14dc-4676-b816-6850e74afbe8%40googlegroups.com.