Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

How to code Macfee PGP program in jcl for decryption ?

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics
View previous topic :: :: View next topic  
Author Message
ektaag

New User


Joined: 21 Mar 2007
Posts: 14
Location: bangalore

PostPosted: Tue Jul 08, 2008 2:17 pm    Post subject: How to code Macfee PGP program in jcl for decryption ?
Reply with quote

Hi ,

Can anybody help me for coding Macfee PGP program in jcl for decryption ?



Thanks,
Ekta
Back to top
View user's profile Send private message

superk

Moderator Team Head


Joined: 26 Apr 2004
Posts: 4649
Location: Raleigh, NC, USA

PostPosted: Tue Jul 08, 2008 3:02 pm    Post subject: Reply to: How to code Macfee PGP program in jcl for decrypti
Reply with quote

OK, a dumb question, but doesn't the product come with documentation that shows you how to do what you want?
Back to top
View user's profile Send private message
ektaag

New User


Joined: 21 Mar 2007
Posts: 14
Location: bangalore

PostPosted: Tue Jul 08, 2008 4:45 pm    Post subject:
Reply with quote

It is an already existing thing with our system. We have existing programs for encryption but don't know abt the decryption thing. we are using a proc = pgpproc .

but dont know where it is as no library is mention in our existing code.
is it some utility like iebgener or something ??


ekta
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8121
Location: East Dubuque, Illinois, USA

PostPosted: Tue Jul 08, 2008 5:02 pm    Post subject:
Reply with quote

McAfee eBusiness Server for OS/390 is McAfee's PGP mainframe product. It is not a utility like IEBGENER as it is not part of z/OS, but a separately purchased package. Code to do decryption:
Code:
//IN       DD *
--decrypt 'PGMR.RS0.TEST.QINTER.PGP'
 --text
 --output dd:textout
 --passphrase "an offer you can't refuse"
/*
//TEXTOUT  DD  PATH='/u/tech/ttssrs0/qinter.text',
//         PATHOPTS=(OWRONLY,OCREAT),
//         PATHMODE=(SIRWXU,SIRWXG,SIRWXO)
Back to top
View user's profile Send private message
ektaag

New User


Joined: 21 Mar 2007
Posts: 14
Location: bangalore

PostPosted: Tue Jul 08, 2008 5:23 pm    Post subject:
Reply with quote

Thanks.. But can u also specify what is the use of public and private keys and how to specify that in our code ?


Ekta
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8121
Location: East Dubuque, Illinois, USA

PostPosted: Tue Jul 08, 2008 5:43 pm    Post subject:
Reply with quote

For public and private keys with McAfee you really need to review the eBusiness Server manual. The code is
Code:
//IN       DD *
--DECRYPT DD:TEXTIN
--USER 0XBB432A00
--OUTPUT DD:DECOUT
which does you no good unless you've read the manual and understand how the USER relates to your key rings.

Broadly, the steps are: get public key from other (vendor, customer, ...), add public key to your key ring which generates the USER field, get encrypted message from other and decrypt it using the public key they gave you.
Back to top
View user's profile Send private message
jaison.baby

New User


Joined: 06 May 2005
Posts: 2
Location: Kerala

PostPosted: Tue Sep 16, 2008 1:02 pm    Post subject: Reply to: How to code Macfee PGP program in jcl for decrypti
Reply with quote

Hi,

I was looking for some material on PGP encryption on mainframes. I am ware of how PGP works (i have done PGP encryption in unix systems but not mainframes). Can anyone provide me with some sample JCL's for PGP encryption, decryption and keygeneration?

Thanks
Jaison
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8121
Location: East Dubuque, Illinois, USA

PostPosted: Tue Sep 16, 2008 4:28 pm    Post subject:
Reply with quote

Jaison, PGP encryption via McAfee's eBusiness Server is not free -- it must be purchased from McAfee. Whichever package you use will provide examples in the documentation. Sample JCL would do you no good since the specifics will vary.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts UNIT=AFF for Easytrieve code gandikk JCL & VSAM 7 Wed Jul 12, 2017 11:42 pm
No new posts Writing a file using online program grvtomar PL/I & Assembler 3 Fri Jun 30, 2017 1:06 pm
No new posts pre-compiler for program in an HFS Pedro DB2 0 Fri Jun 23, 2017 11:13 pm
No new posts Compiling program in endeavor for tra... RALAKKAL Compuware & Other Tools 4 Mon Jun 05, 2017 8:27 pm
No new posts COBOL DB2 program - zIIP eligible vasanthz COBOL Programming 7 Wed May 31, 2017 5:12 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us