dbTalk Databases Forums  

mvBase-User Exit Question

comp.databases.pick comp.databases.pick


Discuss mvBase-User Exit Question in the comp.databases.pick forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Curt
 
Posts: n/a

Default mvBase-User Exit Question - 02-06-2007 , 02:01 PM






Can anyone answer if there a user exit that reads a frame directly into
a variable on mvBase?

Reply With Quote
  #2  
Old   
Tony Gravagno
 
Posts: n/a

Default Re: mvBase-User Exit Question - 02-06-2007 , 07:02 PM






Curt wrote:
Quote:
Can anyone answer if there a user exit that reads a frame directly into
a variable on mvBase?
I don't think there is, and with good reason: What would you do with
the segment marks?

Depending on what you're doing, you might consider using the DUMP
command and capturing that output. To differentiate segment marks,
D3(*nix) has the X option and others which allow us to dump frames
completely in hex, follow forward links, etc. I've forgotten what
options mvBASE has on DUMP, sorry.

If you're completely desperate then you can always DUMP frames in
ASCII, and capture and parse the results.

I apologize if I'm forgetting an exit or other options in mvBASE that
might help. Use it or lose it, eh?

T


Reply With Quote
  #3  
Old   
Curt
 
Posts: n/a

Default Re: mvBase-User Exit Question - 02-07-2007 , 06:08 AM



I have an app that uses the 'Dump' verb now to get into the spooler
frames. I have to issue a Capture off to stop the display of the data to
the screen, even though I am doing an execute with a capturing and a
returning they are still displaying. My goal was to improve the speed of
getting to the data within the report. End result is to get a spooler
hold file out to a dos text file.




In article <dt8is25sla60ari6o8hjcp3jfrfgecgsrt (AT) 4ax (DOT) com>, g6q3x9lu53001
@sneakemail.com.invalid says...
Quote:
Curt wrote:
Can anyone answer if there a user exit that reads a frame directly into
a variable on mvBase?

I don't think there is, and with good reason: What would you do with
the segment marks?

Depending on what you're doing, you might consider using the DUMP
command and capturing that output. To differentiate segment marks,
D3(*nix) has the X option and others which allow us to dump frames
completely in hex, follow forward links, etc. I've forgotten what
options mvBASE has on DUMP, sorry.

If you're completely desperate then you can always DUMP frames in
ASCII, and capture and parse the results.

I apologize if I'm forgetting an exit or other options in mvBASE that
might help. Use it or lose it, eh?

T



Reply With Quote
  #4  
Old   
Peter McMurray
 
Posts: n/a

Default Re: mvBase-User Exit Question - 02-07-2007 , 01:53 PM



Hi
I don't have mvbase but surely it has spool to terminal like d3. I know
several users that just turn capture on in Hostaccess and spool to terminal
to achieve this.
Of course COPY PEQS nnn to DOS:Whatever is better in D3.
Peter McMurray
"Curt" <Nobody (AT) Nowhere (DOT) com> wrote

Quote:
I have an app that uses the 'Dump' verb now to get into the spooler
frames. I have to issue a Capture off to stop the display of the data to
the screen, even though I am doing an execute with a capturing and a
returning they are still displaying. My goal was to improve the speed of
getting to the data within the report. End result is to get a spooler
hold file out to a dos text file.




In article <dt8is25sla60ari6o8hjcp3jfrfgecgsrt (AT) 4ax (DOT) com>, g6q3x9lu53001
@sneakemail.com.invalid says...
Curt wrote:
Can anyone answer if there a user exit that reads a frame directly into
a variable on mvBase?

I don't think there is, and with good reason: What would you do with
the segment marks?

Depending on what you're doing, you might consider using the DUMP
command and capturing that output. To differentiate segment marks,
D3(*nix) has the X option and others which allow us to dump frames
completely in hex, follow forward links, etc. I've forgotten what
options mvBASE has on DUMP, sorry.

If you're completely desperate then you can always DUMP frames in
ASCII, and capture and parse the results.

I apologize if I'm forgetting an exit or other options in mvBASE that
might help. Use it or lose it, eh?

T





Reply With Quote
  #5  
Old   
Tony Gravagno
 
Posts: n/a

Default Re: mvBase-User Exit Question - 02-07-2007 , 04:55 PM



Or you can spool to a Windows file rather than to a physical printer,
then use UREAD or other more efficient mechanisms to get at the data.
DUMPing frames is one of those neat Pick things that we're proud of
when we get it to work, but when it's time for migration we find that
sort of code very costly to convert - in cash and to reputations.

T

"Peter McMurray" wrote:

Quote:
Hi
I don't have mvbase but surely it has spool to terminal like d3. I know
several users that just turn capture on in Hostaccess and spool to terminal
to achieve this.
Of course COPY PEQS nnn to DOS:Whatever is better in D3.
Peter McMurray
"Curt" <Nobody (AT) Nowhere (DOT) com> wrote
I have an app that uses the 'Dump' verb now to get into the spooler
frames. I have to issue a Capture off to stop the display of the data to
the screen, even though I am doing an execute with a capturing and a
returning they are still displaying. My goal was to improve the speed of
getting to the data within the report. End result is to get a spooler
hold file out to a dos text file.


Reply With Quote
  #6  
Old   
Brian Speirs
 
Posts: n/a

Default Re: mvBase-User Exit Question - 02-08-2007 , 01:06 AM



To hush the display on the screen use:

EXECUTE \CAP-HUSH-ON\
EXECUTE statement CAPTURING WHATEVER
EXECUTE \CAP-HUSH-OFF\

Cheers,

Brian

Curt wrote:
Quote:
I have an app that uses the 'Dump' verb now to get into the spooler
frames. I have to issue a Capture off to stop the display of the data to
the screen, even though I am doing an execute with a capturing and a
returning they are still displaying. My goal was to improve the speed of
getting to the data within the report. End result is to get a spooler
hold file out to a dos text file.




In article <dt8is25sla60ari6o8hjcp3jfrfgecgsrt (AT) 4ax (DOT) com>, g6q3x9lu53001
@sneakemail.com.invalid says...
Curt wrote:
Can anyone answer if there a user exit that reads a frame directly into
a variable on mvBase?
I don't think there is, and with good reason: What would you do with
the segment marks?

Depending on what you're doing, you might consider using the DUMP
command and capturing that output. To differentiate segment marks,
D3(*nix) has the X option and others which allow us to dump frames
completely in hex, follow forward links, etc. I've forgotten what
options mvBASE has on DUMP, sorry.

If you're completely desperate then you can always DUMP frames in
ASCII, and capture and parse the results.

I apologize if I'm forgetting an exit or other options in mvBASE that
might help. Use it or lose it, eh?

T



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.