Can you find out the IP address the file is coming from?  If so, then
you could look up the country by looking in the assigned range table.
https://www.codeproject.com/Articles/28363/How-to-convert-IP-address-to-country-name

On Mon, Feb 19, 2018 at 8:08 AM, scott Ford <idfli...@gmail.com> wrote:
> Phil/Gil:
>
> Correct, sorry been a week, CP285 is a UK EBCDIC codepage.
> But my question still stands ...
>
> 1. PC/Linux -> sends ascii encrypted data to IBM z/OS , like I mentioned a
> STC in Cobol
> 2. The STC decrypts and then converts to EBCDIC...
>
> My issue is CAN i query a codepage or CCSID on z/OS to find  out what the
> customer is using without a parameter of some sort.
>
> Regards,
>
> On Sun, Feb 18, 2018 at 8:34 PM, Mike Schwab <mike.a.sch...@gmail.com>
> wrote:
>
>> Knowing what country the data is coming from would greatly reduce the
>> possibilities to one or a handful of code pages.
>>
>> On Sun, Feb 18, 2018 at 3:40 PM, Phil Smith III <li...@akphs.com> wrote:
>> > scott Ford wrote, in part:
>> >
>> >>The ASCII is CP 285 UK ..but we have to support all .I am making sure I
>> >
>> >
>> >
>> > That's not ASCII. This is the point others have been making: you can't
>> > really say "ASCII" unless you mean x'00' through x'127' *and nothing
>> else*:
>> > all you can say is "It's not EBCDIC". Once you start talking other "code
>> > pages", you either need to know which it is, or you have to make an
>> > assumption. Period.
>> >
>> >
>> >
>> > And from my reading, code page 285 is an EBCDIC code page.
>> >
>> >
>> >
>> > Sorry to sound like a hardass about this, but I'm not sure your question
>> has
>> > a meaningful answer, based on what you've said so far.
>> >
>> >
>> >
>> > .phsiii
>> >
>> >
>> > ----------------------------------------------------------------------
>> > For IBM-MAIN subscribe / signoff / archive access instructions,
>> > send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
>>
>>
>>
>> --
>> Mike A Schwab, Springfield IL USA
>> Where do Forest Rangers go to get away from it all?
>>
>> ----------------------------------------------------------------------
>> For IBM-MAIN subscribe / signoff / archive access instructions,
>> send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
>>
>
>
>
> --
>
>
>
> *IDMWORKS *
>
> Scott Ford
>
> z/OS Dev.
>
>
>
>
> “By elevating a friend or Collegue you elevate yourself, by demeaning a
> friend or collegue you demean yourself”
>
>
>
> www.idmworks.com
>
> scott.f...@idmworks.com
>
> Blog: www.idmworks.com/blog
>
>
>
>
>
> *The information contained in this email message and any attachment may be
> privileged, confidential, proprietary or otherwise protected from
> disclosure. If the reader of this message is not the intended recipient,
> you are hereby notified that any dissemination, distribution, copying or
> use of this message and any attachment is strictly prohibited. If you have
> received this message in error, please notify us immediately by replying to
> the message and permanently delete it from your computer and destroy any
> printout thereof.*
>
> ----------------------------------------------------------------------
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN



-- 
Mike A Schwab, Springfield IL USA
Where do Forest Rangers go to get away from it all?

----------------------------------------------------------------------
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