Two problems here, right?

1. How can a COBOL program handle an input file with a variety of fixed (?) 
record lengths.

2. How can a COBOL program encrypt a field?

Answers:

1. I'm not much of a COBOL guy but I am going to guess you need three different 
FD's and a PARM= that tells it which one to use.

2. A major topic of its own. Ron, any idea what sort of API or package you 
intend to use to do this? IBM? Third-party? Have you thought about password 
management? Public key? Private key? Would perhaps just masking the number -- 
making it unreadable to the average guy or gal -- be sufficient?

Is there an API to encrypt a field with crypto services? 

Charles

-----Original Message-----
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf 
Of Ron Thomas
Sent: Thursday, October 18, 2012 10:43 AM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: File Processing

Hello 

I have a requirement where  the input file is comming from a thrid party system 
and each of the files is having different logical record lengths. Once the file 
cam i have  to use the file and encrypt the customer number that is there. 
Please let me know how in a  single cobol program we can acheive the same?

Regards
Ron T

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions, send email to 
lists...@listserv.ua.edu with the message: INFO IBM-MAIN

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to