On Tue, 26 Nov 2019 00:20:12 +0000, Jesse 1 Robinson wrote:

>I'm having trouble imagining a scenario where an EBCDIC representation of an 
>address would be useful. The problem is, in a job step situation, how would 
>you figure out an address to pass?
>
>//STEP1 EXEC PGM=my-pgm,PARM=???
>
>How would I figure out what address to pass? 
>
Rexx x2c(), for example.  Enter that value with ISPF Edit hex option.

Don't underestimate the determination of hackers.

>If instead my-pgm is called from another program, then I would not use the JCL 
>parm format being discussed. In that case, I would pass the address directly 
>without the EBCDIC conversion game. 
> 
I believe when Walt raveled this fiber of the thread he posited assembler
CALL macro or JCL PARM format (they're the same.)

>-----Original Message-----
>From: Paul Gilmartin
>Sent: Monday, November 25, 2019 3:51 PM
>
>>Why can't the character string contain eg the eight character hex 
>>representation of a 4-byte address, which the program converts back to 
>>binary and tries to pass control to?
>> 
>In fact, that character string could be any four octets comprising a 
>legitimate AMODE 31 address.

-- gil

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to