do you have some hints what i have to think about if i want to migrate my Natural 3.1.2 Programms from BS2000 to Natural on Linux.
I think things like Hexvalue inits and so on (EBCDIC vs. ASCII is only at Hexinits a Problem i think). Over there i would think about Userexits and Binaryusage of Controllvariables. Does someone have some hints over there i have to think about?
/Edit: I saw there that also some Inputs might have problems.
Some Points i got from this Thread:
- INPUT (SB=#VAR) isn’t available outside the Mainframe
- tpsys – On Mainframe there are UTM or something like that which often to be used to differ between Batch and Dialog Mode. (Use *device instead)
- ASCII Sorts: a-z, A-Z, 0-9
- EBCDIC Sorts: 0-9, A-Z, a-z
- Char " is H’7F’ on EBCDIC and H’22’ on ASCII
Endian - depends Variables Format I, F
The decimal Number 100 would be saved in different Order at the following Systems (as Integer - length 4 Byte). Also have a look at this for Endians.
- Little Endian (x86 Processors) – 64 00 00 00
- Middle Endian (Some old Style 16bit Systems) – 00 64 00 00
- Big Endian (RISC, Mainfraimes, most other non x86) – 00 00 00 64
On Mainfraime the Size of Columns that would be displayes is a little bit lower than on Open Systems. If you define a Window with Size 7 * 20. Display show the following:
- with Frame on Mainframe 15 Columns
- without Frame on Mainframe 19 Columns
- with Frame on Open Systems 18 Columns
- without Frame on Open Systems 20 Columns
On Mainframe the Background would be overlayed from the Window 21 Columns and on Open System 20 Columns
Call of Jobs/Programs outside of Natural
- on Mainframe you could use call ‘NATRJE’
- on Open Systems you could use call ‘SHCMD’