Net:FTP send JOB from Windows to z/OS mainframe and get output

2007-12-05 Thread mariusz
Hello list, I am able to send a JOB to z/OS usinf Net::FTP. But I would like to receive the job output of the submitted job too. Do you know how should be used Net::FTP to achieve this ? Best regards Mariusz -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

upload progress

2003-01-09 Thread Mariusz
I know perl CGI is a server side, but maybe someone can suggest how to show a progress window on the client's machine while a file is being uploaded? thank you, Mariusz

Re: uploading and downloading files to MySQL (--2--)

2003-01-09 Thread Mariusz
What type of field should I use for storing the path; just VARCHAR I guess? And as far as the filenames - make up some random file name for each submitted file? thanks, Mariusz ps. If storing files in the DB is not common, what exactly is the BLOB type for? - Original Message - From

uploading and downloading files to MySQL

2003-01-08 Thread Mariusz
database? I'll also greatly appreciate any pointers to some articles on the net. thank you, Mariusz

window size

2002-12-27 Thread Mariusz
My cgi outputs an html page. Is there any way to open it as a new window and also specify the size? Or is javascript the only solution? And if so, what do I do in case someone doesn't support JavaScript? thanks M

declaring variables

2002-12-12 Thread Mariusz
ives me OK). Basically instead of this: my( $varaible1, $variable2, $variableA, $varaibleB); I wanted to type this: my( $varaible1, $variable2, $variableA, $varaibleB ); Any reason why it shouldn't work? Thanks, Mariusz

formatting output

2002-12-11 Thread Mariusz
I'm outputting lots of text into an email message. I would like to have some basic control over the way how it is presented, but the only command I know is "\n" - new line. What about tab, spaces, etc..? Mariusz

html in my script

2002-11-25 Thread Mariusz
I included the following in my script in order to display a text field: but when the box gets displayed in the browser and the user types in 40 characters the box still looks like there is more space to type in?? Is there any way to make sure that the box "appears" 40 characters only? Does i

Re: MySQL

2002-11-24 Thread Mariusz
Thank you for a reply. I did as you advised, my printed statement after executing the script looked like this: SELECT ad_id FROM help_wanted WHERE ad_id in(".join(',', 24 23 22).") but it didn't select any records. I got the result as 0E0 for number of found ones??

MySQL

2002-11-23 Thread Mariusz
I sent the following mysql query and got an error:( SELECT ad_id, text_extra, life FROM help_wanted WHERE ad_id in(@id_set) It prints correctly as: SELECT ad_id, text_extra, life FROM help_wanted WHERE ad_id in(20 19 14) but the whole idea doesn't work; what am I missing? Mariusz

Perl & MySQL (SELECT)

2002-11-22 Thread Mariusz
A while ago I asked for help on the following: > I would like to be able to select records from the a table where record_id > and $record_id from my @record_ids matches. I know I could go through a loop > and send a SELECT query for each element in the array but is there a better > way? How can I

Re: removing white space

2002-11-22 Thread Mariusz
#x27;t find anything? (www.perldoc.com right?) Mariusz - Original Message - From: "John W. Krahn" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, November 22, 2002 2:50 AM Subject: Re: removing white space > Mariusz K wrote: > > > > Hi, > &

Re: removing white space

2002-11-22 Thread Mariusz
Thank you for your response. I went to perldoc on the net and couldn't find any examples or more info on "-q space" Mariusz - Original Message - From: "Sudarshan Raghavan" <[EMAIL PROTECTED]> To: "Perl beginners" <[EMAIL PROTECTED]> Sent

removing white space

2002-11-21 Thread Mariusz K
Hi, One part of my script ads several strings into one: $text = $part1.$part2.$part3.(...etc) However, if the part3 through part10 were empty I get that many white spaces at the end of $text. I thought the best thing would be just to remove the spaces at the end, but how? (maybe search and r

perl & MySQL

2002-11-12 Thread Mariusz
? thanks, Mariusz

Re: how did they do it?

2002-11-11 Thread Mariusz
I'm quite new as well... As far as your solution; You would still have to first send it to the cookie I think, so my problem still stays the same: "How do I collect the values if the name for the checkbox was the same throughout the whole page (see source)"? Thanks KJ, Mariusz

how did they do it?

2002-11-11 Thread Mariusz
"print $checkbox;" can someone help? Thanks, Mariusz

Re: Simple Web-site question

2002-11-10 Thread Mariusz
in order to printout output directly to the browser, try including this in your code: print "Content-type:text/html\n\n"; print $result; and put this at the beginning of your script: use CGI ':standard'; let me know if it helped;) M - Original Message - From: "Gajo Csaba" <[EMA

javascript anybody?

2002-11-05 Thread Mariusz
depend on the choice from the first one? E.g. pull-down1 "category"(choices: A,B,C..) pull-down2 "subcategory" (if choice A was selected in 1, then choices in 2 are for example A1, A2, etc..) any help greatly appreciated Mariusz

search results - can anyone help?

2002-10-25 Thread Mariusz
- Original Message - From: "Mariusz K" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, October 25, 2002 10:33 AM Subject: Search Results - Resent > >>Hi, > >>How can I display certain number of search matches per page? I was > >&g

Search Results - Resent

2002-10-25 Thread Mariusz K
Hi, How can I display certain number of search matches per page? I was thinking to pass the record ID as a hidden field from page to page and then repeat the search on each page, but is there a better way? thanks, M _ Choose an

search results

2002-10-24 Thread Mariusz
Hi, How can I display certain number of search matches per page? I was thinking to pass the record ID as a hidden field from page to page and then repeat the search on each page, but is there a better way? thanks, M

eyes

2002-10-22 Thread Mariusz
Not really perl related but maybe someone did the research.. Programmers spend lots of hours in front of those text editors. What colors (background and font) are the best for the eyes (vision)? thanks, Mariusz

good text editor (OS: Win98)

2002-10-22 Thread Mariusz
- Original Message - From: "Mariusz" <[EMAIL PROTECTED]> To: "perl" <[EMAIL PROTECTED]> Sent: Tuesday, October 22, 2002 6:58 PM Subject: good text editor (My OS is Win98) Can someone recommend a good text editor for perl cgi scripting? I've been usin

good text editor

2002-10-22 Thread Mariusz
mbers. Thanks, Mariusz ps. Nice if it doesn't use too much resources.

who can help?

2002-09-29 Thread Mariusz
Hi, I know this is not a question about perl cgi but I don't know where to turn. I do most of my stuff using Macromedia's Dream and Fireworks. Does any of you use Fireworks? If so, how can I limit a hotspot to only one frame on a multiframe graphic? Thank you for any suggestions as to where I c

Re: MySql - Perl question

2002-09-22 Thread Mariusz
Thanks for the idea. Thanks to it I found another solution that works well: Instead of creating special table you can also just use SHOW COLUMNS, feed it into an array and then use it as you mentioned. Hopefully you'll find it useful... Thanks again Mariusz - Original Message -

more an HTML quetion

2002-09-22 Thread Mariusz
number of characters allowed. thanks, Mariusz

MySql - Perl question

2002-09-22 Thread Mariusz
(or tries to make up a discount code) he will get an error, because there is no such field in my MySQL table. How can I catch that error (such discount doesn't exist) and have perl do something? thanks, Mariusz ps. My Select query looks up bunch of other stuff at the same time, but I g

Re: file upload to MySql ??

2002-09-21 Thread Mariusz
t; > DBI->connect("DBI:mysql:database=mydatabase;host=localhost", > > "user", "password", {'RaiseError' => 1}); > > > > $sth = $dbh->prepare("LOAD DATA INFILE > > '/home/me/file' > > INTO TABLE mytable FIELDS TE

file upload to MySql

2002-09-20 Thread Mariusz
I need to upload a file to a database. Could someone tell me how to do it? I know how to insert values into a table and upload files to a directory but how to combine the two correctly so the file gets uploaded to my MySql DB and I don't get any errors. A part of a script that does that would b

$dbh->{'mysql_insertid'},

2002-09-19 Thread Mariusz
How can I get that id into a scalar? Will this work? $lastid = $dbh->{'mysql_insertid'}; sorry for such basic question. M

session id

2002-09-09 Thread Mariusz K
t the same time, for later comparison - I guess?) Thank you Mariusz _ Send and receive Hotmail on your mobile device: http://mobile.msn.com -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

perl and my DB...

2002-09-08 Thread Mariusz
maybe I should use cookies somehow? But then I have to create a unique cookie so another user in the meantime doesn't have the same one - and how do I go about that?? Using large enough random number? I heard something about session ID Is that something I should look into? thanks for any help, Mariusz

question on cookies - pls help

2002-09-02 Thread Mariusz
How can I check if a user accepts cookies before he starts using my shoppingcart? I know I could set a cookie on page nr1 and then check if it exists on page nr2; but how do I know on which page he arrives first? thank you, Mariusz -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

cookies and baking in general :)

2002-08-31 Thread Mariusz
How can I check if a user accepts cookies before he starts using my shoppingcart? I know I could set a cookie on page nr1 and then check if it exists on page nr2; but how do I know on which page he arrives first (which one would be then the page nr1)? thank you, Mariusz

Perl and Berkley DB - troubles

2002-08-19 Thread Mariusz
M first? I also tried to install DB from .rpm and as perl modules (cpan) as well but it didn't change anything. Could you please help me with that? Thank you Mariusz -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

new window

2002-08-12 Thread Mariusz
When I submit any form that points to a certain cgi script a new page gets loaded: www.domain.com/cgi-bin/myscript.cgi Is it possible to execute the script and do not have the next page loading? I guess I could use redirect and read what page person came from and redirect them back, or put some

shopping cart

2002-08-12 Thread Mariusz
the browser asking for the rest of the data (name, phone, etc..) and email everything on submit. Thanks for any suggestions. This mlist is great and I'm amazed by everyone's altruistic help. Mariusz

new window

2002-07-08 Thread Mariusz
How can I execute the cgi and print the HTML text into a new window? In other words, can I open new browser window using perl? thank you, M

Re: cookies2

2002-07-07 Thread Mariusz
Can I set it and then check if it was created within the same script? M > You just set one on one page and test whether it's set on the next > one. > > Jenda > === [EMAIL PROTECTED] == http://Jenda.Krynicky.cz == > There is a reason for living. There must be. I've seen it somewh

cookies

2002-07-05 Thread Mariusz
Is there a way to check if the person accepts cookies? thanks. M

Shopping cart 2

2002-07-03 Thread Mariusz
e there could be an instance where 2 people get the same random name for the cookie but the probability is very small. thanks, Mariusz

shopping cart

2002-07-02 Thread Mariusz
t back when the person decides to check out (their ip address?) 2. Keep adding items to that file till the person decides to check out 3. On "check out" email the file. Thanks for any advice, Mariusz

Re: Need some help

2002-07-01 Thread Mariusz Wyrozebski
uot;#include <",$line); @plik1=split(">",$plik[1]); open(HAND, '<' , "$plik1[0]"); @nagl=; foreach $linia (@nagl){ print $linia; } close(HAND); } close(HANDLE); --- But I suppose there is faster method to do this. So The Question

Need some help

2002-07-01 Thread Mariusz Wyrozebski
nt is to change lines #include to their entry. Please help! Thanks in advance! Written by Mariusz Wyrozebski [EMAIL PROTECTED] [EMAIL PROTECTED] www.mat.uni.torun.pl/~moon -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

file downloading

2002-04-02 Thread Mariusz
hi, I'm creating a html page on which I would like the viewers to be able to download my pdf file. I know how to upload a file using perl but what about downloading? Or maybe I should use something else? Could someone tell me how it is usually done on peoples websites (downloading files)? Big

time calculation [2]

2002-03-19 Thread Mariusz
;s rather the question for the logic solution I guess not the script itself. thanks, Mariusz - Original Message - From: "Mariusz" <[EMAIL PROTECTED]> To: "perl" <[EMAIL PROTECTED]> Sent: Tuesday, March 19, 2002 12:56 AM Subject: time calculation What's

time calculation

2002-03-18 Thread Mariusz
es in this script) Thanks Mariusz

foreach loop :(

2002-03-16 Thread Mariusz
html tags are not the problem. I included another print statement before the loop and that outputs "text 1 here" to the web. However, "text 2 here" doesn't get printed?? I feel stupid since it's only few lines and it looks very simple and ok to me...Can anyone think of a reason why would the sc

foreach loop

2002-03-16 Thread Mariusz
I know this foreach loop works (I included print statement within it and it printed out results perfectly). However, for some reason the script doesn't continue after the loop. Am I missing something really obvious?(the print "text here" just doesn't happen?) Thanks. Mariu

param function

2002-03-15 Thread Mariusz
ld_from_my_form" that I could refer to later in my script. However, I need all of the pairs. Thanks for help. Mariusz PS. By the way, this is a great list, you guys are very helpful and newbies like me really appreciate what you do.

uploading without using forms :(

2002-03-11 Thread Mariusz
tml") || Error(); my ($data,$length,$chunk); while ($chunk = read ($file, $data, 1024)){ print UPLOAD $data; } close(UPLOAD); sub Error { print "Couldn't open temporary file: $!"; exit;} - Original Message - From: "Timothy Johnson" <[EMAIL PROTECTE

uploading without using forms :(

2002-03-11 Thread Mariusz
s the file.html and "knows" already where to look for it. Mariusz - Original Message - From: "Matthew Harrison" <[EMAIL PROTECTED]> To: "Mariusz" <[EMAIL PROTECTED]> Sent: Monday, March 11, 2002 8:04 PM Subject: Re: uploading without using forms >

uploading without using forms

2002-03-11 Thread Mariusz
at opens a location www.domainname.com/upload.cgi but the problem is that I don't know how to include the location of the file being uploaded in the script (since the location of the file will always be the same) so the user is not asked to provide it. Thank you, Mariusz

Re: uploading files

2002-03-11 Thread Mariusz K
ou want to take this to the beginners cgi list"; isn't this the beginner's mailing-list? ([EMAIL PROTECTED]) >Subject: Re: uploading files >Date: Mon, 11 Mar 2002 09:17:24 -0800 > >At 12:36 AM 3/11/02 -0600, Mariusz wrote: >>Hi, >> >>I wrote th

uploading files

2002-03-10 Thread Mariusz
ow). Can anyone help? my $file = param('uploadfile'); open(UPLOAD, ">../employees/schedule.html") || Error(); my ($data,$length,$chunk); while ($chunk = read ($file, $data, 1024)){ print UPLOAD $data; } close(UPLOAD); Thanks, Mariusz