Subject: | |
From: | [log in to unmask][log in to unmask], 15 Nov 1997 01:59:04 -0800604_us-ascii Tim Herrin < [log in to unmask]> wrote: > I found a >post in the archive by Wirt Atmar (96/7/12) that explained how to >configure a Hayes compt. modem with a terminal. I entered the commands: <snip> >AT&C0 Assume presence of carrier detect signal <snip> >The only problem is, if I disconnect without logging off, it doesn't log >me off. Then if I call up again, I get on without logging on. I >haven't restarted the 3000 since changing the config. in NMMGR to reload >the DTC. Does this matter? [...]41_15Nov199701:59: [log in to unmask] |
Reply To: | |
Date: | Tue, 18 Nov 1997 11:18:06 PST8 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
Try something like the following:
! ...
!build hfile;rec=-80,,f,ascii;temp;msg
!file tmp=hfile,oldtemp
!SPOOLF O@;SELEQ=[(FILEDES=rpt AND JOBNUM=#!hpjobtype!hpjobnum)];SHOW >*tmp
(where 'rpt' represents the report name)
!setvar rpt_dfid "0"
!while finfo("*tmp","eof") <> 0 do
! input _text;wait=1 <*tmp
! if lft(_text,1) = "#" then
! setvar rpt_dfid rtrim(str(_text,2,8))
! endif
!endwhile
! ...
after the above the variable 'rpt_dfid' should contain the value of the 'DFID'
that corresponds to the desired report in the form of 'Oxxxxx'.
Regards
Paul H. Christidis
______________________________ Reply Separator _________________________________
Subject: Finding a print files DFID number
Author: [log in to unmask] at CCGATE
Date: 11/17/97 16:14
Greetings!!
Ok.. I need to be able within a jobstream to identify a spoolfiles
DFID number and set a variable the same as the number. I have it
working using MPEX... but I'd rather do it outside of MPEX if
Possible. I don't need the STDLIST number but the actual report
itself....Any help???
TIA
James Reynolds
[log in to unmask]
|
|
|