Discussion:
SQL - Enscribe File
(too old to reply)
Andre White
2019-12-17 14:16:54 UTC
Permalink
Hi Guys,

Currently I have a tool to query Enscribe file using SQL command.
If you interested to try, just let me know.

----------------------------------------------------------------------------
Enscribe Query 2.0 (Beta) (Non-Commercial Version)
help
Help is available for the following commands :

HEADING Command
DEFAULT IS ON
Example : HEADING ON
: HEADING OFF
RAWDATA Command
DEFAULT IS OFF
Example : RAWDATA ON
: RAWDATA OFF
CLEAR Command
DICT Command
Example : DICT $TEST.ADRTOOL
HELP Command
OUT or OUTPUT Command
Example : OUT TERM (PRINT TO TERMINAL)
: OUT $VOL.SUBVOL.FILENAME ! (WILL PURGE THE PREVIOUS DATA)
: OUT $VOL.SUBVOL.FILENAME (CONTINUE TO WRITE TO NEXT RECORD)
SEPARATOR Command
Example : SEPARATOR ,
SHOW Command
How To use : SHOW {RECS|DEFS} RECORD-NAME/DEFINITION-NAME, {TAL|COBOL}
: SHOW {RECS|DEFS} *
: SHOW {*}
Example : SHOW RECS *
: SHOW RECS ATDD1, TAL
: SHOW DEFS *
: SHOW DEFS ATDD1
: SHOW *
FUNCTIONS List
: UNPAK^BINARY or BIN^HEXCHAR^BINARY
: HEX^ASC^BINARY
: UNPAK or BIN^HEXCHAR
: HEX^ASC
: BINARY
: SUM
SELECT Command
Example : SELECT * FROM [TABLE] WHERE [CONDITION]
: SELECT [FIELD^NAME, ...] FROM [TABLE] WHERE [CONDITION] [LIMIT 1]
[SKIP 1]
: SELECT [FIELD^NAME, ...] FROM [=DEFINE^NAME] WHERE [CONDITION]
: SELECT * FROM $VOl.SUBVOL.FILENAME WHERE TERM-ID = "%TEST%" AND
AMT-1 > 700 LIMIT 50
: SELECT BINARY(TERM-ID) FROM $VOl.SUBVOL.FILENAME WHERE TERM-ID = "%T
EST%" AND AMT-1 > 700 LIMIT 50
: SELECT BINARY(TERM-ID[0:0]) FROM $VOl.SUBVOL.FILENAME WHERE TERM-ID
= "%TEST%" AND AMT-1 > 700 LIMIT 50
SET Command
Example : SET RECS TLF
: SET DEFS TLF
UPDATE Command (Coming Soon)
INSERT Command (Coming Soon)

HOW TO USE
1. YOU MUST SET THE DICT LOCATION USING DICT COMMAND
2. IF THE FILENAME SAME AS RECORD NAME, NO NEED TO SET RECS/DEFS
ELSE YOU NEED TO SET RECS/DEFS USING SET COMMAND
3. IF YOU WANT THE OUTPUT IN FILE YOU SHOULD USING OUT or OUTPUT COMMAND
4. IF YOU DONT WANT TO PRINT THE HEADER/HEADING YOU SHOULD USING HEADING COMMAND
exit
$TEST ADRTOOL 3> z
Chandy
2019-12-19 21:09:24 UTC
Permalink
Hi Andre ,

That's sound interesting , Definately I would like to try this.

Best regards
Chandan
Andre White
2019-12-20 02:10:44 UTC
Permalink
Post by Chandy
Hi Andre ,
That's sound interesting , Definately I would like to try this.
Best regards
Chandan
HI Chandan,

Please send to above email. So I can reply to your's email.

Regards,
Andre A
DerekW
2020-10-19 11:02:01 UTC
Permalink
Post by Andre White
Post by Chandy
Hi Andre ,
That's sound interesting , Definately I would like to try this.
Best regards
Chandan
HI Chandan,
Please send to above email. So I can reply to your's email.
Regards,
Andre A
That's sound interesting , Definitely I would like to try this.

Reards,
Derek
Andre White
2020-10-20 16:24:26 UTC
Permalink
Post by DerekW
Post by Andre White
Post by Chandy
Hi Andre ,
That's sound interesting , Definately I would like to try this.
Best regards
Chandan
HI Chandan,
Please send to above email. So I can reply to your's email.
Regards,
Andre A
That's sound interesting , Definitely I would like to try this.
Reards,
Derek
Hi Chandan and Derek,

Please check your email.

Thanks.
Adam Kamal
2021-02-17 19:01:48 UTC
Permalink
Post by Andre White
Post by DerekW
Post by Andre White
Post by Chandy
Hi Andre ,
That's sound interesting , Definately I would like to try this.
Best regards
Chandan
HI Chandan,
Please send to above email. So I can reply to your's email.
Regards,
Andre A
That's sound interesting , Definitely I would like to try this.
Reards,
Derek
Hi Chandan and Derek,
Please check your email.
Thanks.
Can I get access to this tool too? Thanks in advance!
ssrin...@gmail.com
2021-03-01 17:08:55 UTC
Permalink
Post by Andre White
Hi Guys,
Currently I have a tool to query Enscribe file using SQL command.
If you interested to try, just let me know.
----------------------------------------------------------------------------
Enscribe Query 2.0 (Beta) (Non-Commercial Version)
help
HEADING Command
DEFAULT IS ON
Example : HEADING ON
: HEADING OFF
RAWDATA Command
DEFAULT IS OFF
Example : RAWDATA ON
: RAWDATA OFF
CLEAR Command
DICT Command
Example : DICT $TEST.ADRTOOL
HELP Command
OUT or OUTPUT Command
Example : OUT TERM (PRINT TO TERMINAL)
: OUT $VOL.SUBVOL.FILENAME ! (WILL PURGE THE PREVIOUS DATA)
: OUT $VOL.SUBVOL.FILENAME (CONTINUE TO WRITE TO NEXT RECORD)
SEPARATOR Command
Example : SEPARATOR ,
SHOW Command
How To use : SHOW {RECS|DEFS} RECORD-NAME/DEFINITION-NAME, {TAL|COBOL}
: SHOW {RECS|DEFS} *
: SHOW {*}
Example : SHOW RECS *
: SHOW RECS ATDD1, TAL
: SHOW DEFS *
: SHOW DEFS ATDD1
: SHOW *
FUNCTIONS List
: UNPAK^BINARY or BIN^HEXCHAR^BINARY
: HEX^ASC^BINARY
: UNPAK or BIN^HEXCHAR
: HEX^ASC
: BINARY
: SUM
SELECT Command
Example : SELECT * FROM [TABLE] WHERE [CONDITION]
: SELECT [FIELD^NAME, ...] FROM [TABLE] WHERE [CONDITION] [LIMIT 1]
[SKIP 1]
: SELECT [FIELD^NAME, ...] FROM [=DEFINE^NAME] WHERE [CONDITION]
: SELECT * FROM $VOl.SUBVOL.FILENAME WHERE TERM-ID = "%TEST%" AND
AMT-1 > 700 LIMIT 50
: SELECT BINARY(TERM-ID) FROM $VOl.SUBVOL.FILENAME WHERE TERM-ID = "%T
EST%" AND AMT-1 > 700 LIMIT 50
: SELECT BINARY(TERM-ID[0:0]) FROM $VOl.SUBVOL.FILENAME WHERE TERM-ID
= "%TEST%" AND AMT-1 > 700 LIMIT 50
SET Command
Example : SET RECS TLF
: SET DEFS TLF
UPDATE Command (Coming Soon)
INSERT Command (Coming Soon)
HOW TO USE
1. YOU MUST SET THE DICT LOCATION USING DICT COMMAND
2. IF THE FILENAME SAME AS RECORD NAME, NO NEED TO SET RECS/DEFS
ELSE YOU NEED TO SET RECS/DEFS USING SET COMMAND
3. IF YOU WANT THE OUTPUT IN FILE YOU SHOULD USING OUT or OUTPUT COMMAND
4. IF YOU DONT WANT TO PRINT THE HEADER/HEADING YOU SHOULD USING HEADING COMMAND
exit
$TEST ADRTOOL 3> z
Hi Andre, How to access this tools ? I am interested to try out.

thanks
uros kusar
2021-06-16 11:06:14 UTC
Permalink
Post by ***@gmail.com
Post by Andre White
Hi Guys,
Currently I have a tool to query Enscribe file using SQL command.
If you interested to try, just let me know.
----------------------------------------------------------------------------
Enscribe Query 2.0 (Beta) (Non-Commercial Version)
help
HEADING Command
DEFAULT IS ON
Example : HEADING ON
: HEADING OFF
RAWDATA Command
DEFAULT IS OFF
Example : RAWDATA ON
: RAWDATA OFF
CLEAR Command
DICT Command
Example : DICT $TEST.ADRTOOL
HELP Command
OUT or OUTPUT Command
Example : OUT TERM (PRINT TO TERMINAL)
: OUT $VOL.SUBVOL.FILENAME ! (WILL PURGE THE PREVIOUS DATA)
: OUT $VOL.SUBVOL.FILENAME (CONTINUE TO WRITE TO NEXT RECORD)
SEPARATOR Command
Example : SEPARATOR ,
SHOW Command
How To use : SHOW {RECS|DEFS} RECORD-NAME/DEFINITION-NAME, {TAL|COBOL}
: SHOW {RECS|DEFS} *
: SHOW {*}
Example : SHOW RECS *
: SHOW RECS ATDD1, TAL
: SHOW DEFS *
: SHOW DEFS ATDD1
: SHOW *
FUNCTIONS List
: UNPAK^BINARY or BIN^HEXCHAR^BINARY
: HEX^ASC^BINARY
: UNPAK or BIN^HEXCHAR
: HEX^ASC
: BINARY
: SUM
SELECT Command
Example : SELECT * FROM [TABLE] WHERE [CONDITION]
: SELECT [FIELD^NAME, ...] FROM [TABLE] WHERE [CONDITION] [LIMIT 1]
[SKIP 1]
: SELECT [FIELD^NAME, ...] FROM [=DEFINE^NAME] WHERE [CONDITION]
: SELECT * FROM $VOl.SUBVOL.FILENAME WHERE TERM-ID = "%TEST%" AND
AMT-1 > 700 LIMIT 50
: SELECT BINARY(TERM-ID) FROM $VOl.SUBVOL.FILENAME WHERE TERM-ID = "%T
EST%" AND AMT-1 > 700 LIMIT 50
: SELECT BINARY(TERM-ID[0:0]) FROM $VOl.SUBVOL.FILENAME WHERE TERM-ID
= "%TEST%" AND AMT-1 > 700 LIMIT 50
SET Command
Example : SET RECS TLF
: SET DEFS TLF
UPDATE Command (Coming Soon)
INSERT Command (Coming Soon)
HOW TO USE
1. YOU MUST SET THE DICT LOCATION USING DICT COMMAND
2. IF THE FILENAME SAME AS RECORD NAME, NO NEED TO SET RECS/DEFS
ELSE YOU NEED TO SET RECS/DEFS USING SET COMMAND
3. IF YOU WANT THE OUTPUT IN FILE YOU SHOULD USING OUT or OUTPUT COMMAND
4. IF YOU DONT WANT TO PRINT THE HEADER/HEADING YOU SHOULD USING HEADING COMMAND
exit
$TEST ADRTOOL 3> z
Hi Andre, How to access this tools ? I am interested to try out.
thanks
Hi Andre,

I'm very interested, can I try this tool to?

Regards,
Uros
Dan Kjeldsen
2022-09-16 08:53:17 UTC
Permalink
Post by ***@gmail.com
Post by ***@gmail.com
Post by Andre White
Hi Guys,
Currently I have a tool to query Enscribe file using SQL command.
If you interested to try, just let me know.
----------------------------------------------------------------------------
Enscribe Query 2.0 (Beta) (Non-Commercial Version)
help
HEADING Command
DEFAULT IS ON
Example : HEADING ON
: HEADING OFF
RAWDATA Command
DEFAULT IS OFF
Example : RAWDATA ON
: RAWDATA OFF
CLEAR Command
DICT Command
Example : DICT $TEST.ADRTOOL
HELP Command
OUT or OUTPUT Command
Example : OUT TERM (PRINT TO TERMINAL)
: OUT $VOL.SUBVOL.FILENAME ! (WILL PURGE THE PREVIOUS DATA)
: OUT $VOL.SUBVOL.FILENAME (CONTINUE TO WRITE TO NEXT RECORD)
SEPARATOR Command
Example : SEPARATOR ,
SHOW Command
How To use : SHOW {RECS|DEFS} RECORD-NAME/DEFINITION-NAME, {TAL|COBOL}
: SHOW {RECS|DEFS} *
: SHOW {*}
Example : SHOW RECS *
: SHOW RECS ATDD1, TAL
: SHOW DEFS *
: SHOW DEFS ATDD1
: SHOW *
FUNCTIONS List
: UNPAK^BINARY or BIN^HEXCHAR^BINARY
: HEX^ASC^BINARY
: UNPAK or BIN^HEXCHAR
: HEX^ASC
: BINARY
: SUM
SELECT Command
Example : SELECT * FROM [TABLE] WHERE [CONDITION]
: SELECT [FIELD^NAME, ...] FROM [TABLE] WHERE [CONDITION] [LIMIT 1]
[SKIP 1]
: SELECT [FIELD^NAME, ...] FROM [=DEFINE^NAME] WHERE [CONDITION]
: SELECT * FROM $VOl.SUBVOL.FILENAME WHERE TERM-ID = "%TEST%" AND
AMT-1 > 700 LIMIT 50
: SELECT BINARY(TERM-ID) FROM $VOl.SUBVOL.FILENAME WHERE TERM-ID = "%T
EST%" AND AMT-1 > 700 LIMIT 50
: SELECT BINARY(TERM-ID[0:0]) FROM $VOl.SUBVOL.FILENAME WHERE TERM-ID
= "%TEST%" AND AMT-1 > 700 LIMIT 50
SET Command
Example : SET RECS TLF
: SET DEFS TLF
UPDATE Command (Coming Soon)
INSERT Command (Coming Soon)
HOW TO USE
1. YOU MUST SET THE DICT LOCATION USING DICT COMMAND
2. IF THE FILENAME SAME AS RECORD NAME, NO NEED TO SET RECS/DEFS
ELSE YOU NEED TO SET RECS/DEFS USING SET COMMAND
3. IF YOU WANT THE OUTPUT IN FILE YOU SHOULD USING OUT or OUTPUT COMMAND
4. IF YOU DONT WANT TO PRINT THE HEADER/HEADING YOU SHOULD USING HEADING COMMAND
exit
$TEST ADRTOOL 3> z
Hi Andre, How to access this tools ? I am interested to try out.
thanks
Hi Andre,
I'm very interested, can I try this tool to?
Regards,
Uros
Hi Andre

I would like to try this tool as well.

Regards
Dan
Rob Walker
2022-09-20 07:24:52 UTC
Permalink
Just an FYI - the firm I work for released an official (aka commercial product) in this space for those needing a supported product with advanced features:

https://testing.ascert.com/news/ascert-expands-relate-product-family-to-offer-direct-sql-and-jdbc-access

There's contact details at bottom of PR for anyone wanting more info.

-Rob

Loading...