MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

How to set a password to EXCEL thru JCL

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Job Control Language(JCL)
View previous topic :: View next topic  
Author Message
pvaraju
Beginner


Joined: 28 Apr 2004
Posts: 2
Topics: 1

PostPosted: Mon Nov 09, 2009 12:38 pm    Post subject: How to set a password to EXCEL thru JCL Reply with quote

I need to send a email attachment as an excel format thru JCL and the excel should be in password protected.Is it possible?.If its possible can you please post the process.

Thanks in advance.

Thanks,
Sri
Back to top
View user's profile Send private message Yahoo Messenger
dbzTHEdinosauer
Supermod


Joined: 20 Oct 2006
Posts: 1411
Topics: 26
Location: germany

PostPosted: Mon Nov 09, 2009 1:18 pm    Post subject: Reply with quote

well,
you tell me what application on the mainframe will create an excel formatted file,
and I will ask microsoft where the password is contained in the excel file and you can
just plug it in there.
_________________
Dick Brenholtz
American living in Varel, Germany
Back to top
View user's profile Send private message
semigeezer
Supermod


Joined: 03 Jan 2003
Posts: 1014
Topics: 13
Location: Atlantis

PostPosted: Mon Nov 09, 2009 6:08 pm    Post subject: Reply with quote

You'll probably have to transfer the file to a PC and use some sort of key/mouse simulator software to bring u excell and add a password. I'm assuming that a password encrypts the data. I haven't looked.
_________________
New members are encouraged to read the How To Ask Questions The Smart Way FAQ at http://www.catb.org/~esr/faqs/smart-questions.html.
Back to top
View user's profile Send private message Visit poster's website
jhandu
Beginner


Joined: 01 Oct 2008
Posts: 6
Topics: 0
Location: India

PostPosted: Tue Nov 10, 2009 8:10 am    Post subject: Reply with quote

pvaraju, can you please post the process to generate an excel file in mainframe?
Back to top
View user's profile Send private message
jim haire
Beginner


Joined: 30 Dec 2002
Posts: 140
Topics: 40

PostPosted: Tue Nov 10, 2009 5:17 pm    Post subject: Reply with quote

I have done this in a couple of different ways.

If you know that the data you want to put to Excel does not contain commas, separate the fields in your file with commas on the mainframe.
Then FTP your file to your PC and open as a .CSV (comma-separated values).

If your data does contain commas, you can separate the fields with a TAB
(hex 05). Then FTP your file to your PC and open as a .PRN file.
Back to top
View user's profile Send private message
Terry_Heinze
Supermod


Joined: 31 May 2004
Posts: 391
Topics: 4
Location: Richfield, MN, USA

PostPosted: Tue Nov 10, 2009 7:58 pm    Post subject: Reply with quote

I think Sri wants to go in the opposite direction, Jim. I think he wants to send an Excel file from an e-mail attachment to the mainframe and have the mainframe recognize it as an encrypted, password protected Excel file.
_________________
....Terry
Back to top
View user's profile Send private message Send e-mail
semigeezer
Supermod


Joined: 03 Jan 2003
Posts: 1014
Topics: 13
Location: Atlantis

PostPosted: Tue Nov 10, 2009 9:58 pm    Post subject: Reply with quote

I was under the impression that the data would come from MVS and be generated into an Excel spreadsheet that should be password protected and then sent via email or FTP or whatever to another system. My thought was to create a CSV file on the mainframe, download that to a workstation, start excel using a mouse+keyboard scripter like AutoHotKey (wonderful tool) and do the conversion to excel + add password at the PC then upload it to the host again and do the email/FTP/whatever. No?
_________________
New members are encouraged to read the How To Ask Questions The Smart Way FAQ at http://www.catb.org/~esr/faqs/smart-questions.html.
Back to top
View user's profile Send private message Visit poster's website
papadi
Supermod


Joined: 20 Oct 2009
Posts: 594
Topics: 1

PostPosted: Tue Nov 10, 2009 10:24 pm    Post subject: Reply with quote

Speaking of impressions, mine was that the goal was to have a password-protected, excel-ready file created on the mainframe and sent to wherever as an e-mail attachment.

Wink
_________________
All the best,

di
Back to top
View user's profile Send private message
pvaraju
Beginner


Joined: 28 Apr 2004
Posts: 2
Topics: 1

PostPosted: Thu Nov 19, 2009 2:27 pm    Post subject: Reply with quote

My requirement is to generate a report in cobol and send that report as email attachment in excel and that attached excel should be password protected.

I am able to send it as an email attachment (excel) by creating a .csv file and then in next step used sasemail step(which used in our shop).But not able set the password protect for the excel.

Thanks for all ur responces.

Thanx,
Sri
Back to top
View user's profile Send private message Yahoo Messenger
papadi
Supermod


Joined: 20 Oct 2009
Posts: 594
Topics: 1

PostPosted: Thu Nov 19, 2009 3:48 pm    Post subject: Reply with quote

While it can be imported into Excel, a .csv text file is not an Excel file (which are often .xls or .xlsx).

If a password is really needed, it could be added on the target system. If a file is sent to "Fred", is the id/pswd associated with Fred's e-mail not sufficient?
_________________
All the best,

di
Back to top
View user's profile Send private message
petluri
Beginner


Joined: 05 Dec 2002
Posts: 19
Topics: 5
Location: Virginia, USA

PostPosted: Fri Nov 20, 2009 12:22 pm    Post subject: Reply with quote

Why don't you use PKZIP with a password?
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
semigeezer
Supermod


Joined: 03 Jan 2003
Posts: 1014
Topics: 13
Location: Atlantis

PostPosted: Sun Nov 22, 2009 5:45 pm    Post subject: Reply with quote

zip passwords are extremely weak. They can usually be cracked in a minute or so with commonly available freeware. I don't know if excel passwords are as bad -- they may be.
_________________
New members are encouraged to read the How To Ask Questions The Smart Way FAQ at http://www.catb.org/~esr/faqs/smart-questions.html.
Back to top
View user's profile Send private message Visit poster's website
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12378
Topics: 75
Location: San Jose

PostPosted: Sun Nov 22, 2009 6:07 pm    Post subject: Reply with quote

semigeezer wrote:
zip passwords are extremely weak. They can usually be cracked in a minute or so with commonly available freeware. I don't know if excel passwords are as bad -- they may be.


Excel passwords are equally bad. There are tons of freeware which would crack the password just like zip passwords.
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Job Control Language(JCL) All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group