HP3000-L Archives

October 2001, Week 2

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Sathishmohan Selvaraj <[log in to unmask]>
Reply To:
Sathishmohan Selvaraj <[log in to unmask]>
Date:
Mon, 8 Oct 2001 12:39:15 +0530
Content-Type:
text/plain
Parts/Attachments:
text/plain (75 lines)
Hi All,
Thanks ted for your reply, but some clarification needed
I have a basic doubt and would like your help for some clarification.
Below is the sample code

D9$=INDIA

SYSTEM X,"FILE SAMPROD"+D9$+";DEV=LP,1"
ASSIGN "SAMPROD"+D9$,6,X

The above code is from a basic program in which i am assigning a file
SAMPROD to device LP,1.
Here the SYSTEM X function is used to execute the HP3000 command in
double quotes.

(1) IS this file created in HARD DISK?
(2) Does this mean whatever I write into this file gets printed at the
printer without any user intervention.(user saying explicitly print
SAMPRODINDIA after the program is run)
(3) What does the assign statement do?

Looking forward to your reply.
Thanks,
Sathish


-----Original Message-----
From: Ted Ashton [mailto:[log in to unmask]]
Sent: Monday, October 08, 2001 10:14 AM
To: [log in to unmask]
Subject: Re: [HP3000-L] HP3000 - Cobol


Thus it was written in the epistle of Sathishmohan Selvaraj,
> Hi Cobolguys,
> I have a doubt.
>
> !JOB ADPRORD,MGR.DEV;PRI=CS;OUTCLASS=LP,1;HIPRI
> is one of my job statements which run a cobol program in it.
>
> Now i have a doubt. What does the OUTCLASS=LP in the job statement
> signify. Does it mean that whatever display statements i use in the
> COBOL program will go to the printer LP??

It means that the $STDLIST of the job will be destined for the printer
LP (of
course, the ",1" following that will set the outpri of that $STDLIST to
1,
keeping it from printing--on the typical system).  The DISPLAY
statements will
go to $STDLIST (and thus, to LP, as you expected).

HTH,
Ted
--
Ted Ashton ([log in to unmask]), Info Sys, Southern Adventist
University
          ==========================================================
[On Ramanujan]
I remember once going to see him when he was lying ill at Putney. I had
ridden in taxi cab number 1729 and remarked that the number seemed to me
rather a dull one, and that I hoped it was not an unfavorable omen.
"No," he
replied, "it is a very interesting number; it is the smallest number
expressible as the sum of two cubes in two different ways."
                        -- Hardy, Godfrey H. (1877 - 1947)
          ==========================================================
         Deep thought to be found at http://www.southern.edu/~ashted

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

ATOM RSS1 RSS2