# INPUT statement

**URL:** <https://techcommunity.softwareag.com/t/input-statement/102516>\
**Category:** Forum\
**Tags:** Adabas-Natural, Natural, Natural-Single-Point-of-Development-SPoD\
**Created:** [March 7, 2013, 9:33am UTC](https://techcommunity.softwareag.com/t/input-statement/102516 "2013-03-07T09:33:32Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Arkonara\_Arkonara](https://avatars.discourse-cdn.com/v4/letter/a/eada6e/32.png) [@Arkonara\_Arkonara](https://techcommunity.softwareag.com/u/Arkonara_Arkonara)\
**Post date:** [March 7, 2013, 9:33am UTC](https://techcommunity.softwareag.com/t/input-statement/102516/1 "2013-03-07T09:33:32Z")

</div>

Hello,

in first, scuse me because i don’t speack very well english.

My problem is :

in the INPUT statement (local map), i define my data £HR-CHRONO in (P7)

- MAP  
1 MEMBRE (A8)  
1 £MAP-LOCAL  
2 £NM-CHAINE-PTE (A7)  
2 £NM-JOB (A8)  
2 £DT-CHRONO (P7)  
2 REDEFINE £DT-CHRONO  
3 £DT-CHRONO-D (D)  
2 £HR-CHRONO (P7)  
2 £NM-PROG (A8)  
2 £NO-FIC-CHAINE (N2,0)  
2 £ZN-TY-ENRGT-EDIT (A1)  
2 £ZN-FINDESCR (A7)  
2 £JOB-NAME (A10)  
2 £ERREUR (A60)

…

in the program, in my local map :

INPUT MARK \*MEMBRE /  
[…]  
8T ‘HEURE : ’ (DPI) \*IN £MAP-LOCAL.£HR-CHRONO  
(AD=MILT’\_') //  
[…]

but when i run the program, my data £HR-CHRONO is writing in 8 characters O\_0.

I don’t understand why he is displayed in 8 characters.

can someone help me please?

---

<div class="post-metadata">

**Author:** ![Arkonara\_Arkonara](https://avatars.discourse-cdn.com/v4/letter/a/eada6e/32.png) [@Arkonara\_Arkonara](https://techcommunity.softwareag.com/u/Arkonara_Arkonara)\
**Post date:** [March 7, 2013, 9:52am UTC](https://techcommunity.softwareag.com/t/input-statement/102516/2 "2013-03-07T09:52:17Z")

</div>

hi,

i resolve my problem, just add an edit mask

8T ‘HEURE : ’ (DPI) \*IN £MAP-LOCAL.£HR-CHRONO  
(AD=MILT’\_’ EM=9(7)) //

---

<div class="post-metadata">

**Author:** ![Nikolay\_Kuhta](https://avatars.discourse-cdn.com/v4/letter/n/35a633/32.png) [@Nikolay\_Kuhta](https://techcommunity.softwareag.com/u/Nikolay_Kuhta)\
**Post date:** [March 7, 2013, 4:18pm UTC](https://techcommunity.softwareag.com/t/input-statement/102516/3 "2013-03-07T16:18:09Z")

</div>

Bonjour Arkonara,  
C’est excellent que tu as résolu ton problème; quand à ton “mauvais anglais”, j’aimerais bien te suggérer le “Google translate”:

> **[Google Translate](https://translate.google.ca/?hl=en)**
>
> Google's service, offered free of charge, instantly translates words, phrases, and web pages between English and over 100 other languages.

Bonne chance,  
Nikolay  
(je travaille à Montréal, alors … 🙂

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/techcommunity/original/3X/c/d/cd19967bb605d28a72d77eb83a1cae22f3df2eb8.svg) [@system](https://techcommunity.softwareag.com/u/system)\
**Post date:** [March 7, 2013, 7:43pm UTC](https://techcommunity.softwareag.com/t/input-statement/102516/4 "2013-03-07T19:43:53Z")

</div>

A quick explanation nevertheless:

the mysterious 8th character is the SIGN, which will become obvious when printing a number like -1234567 without an edit mask.

---

<div class="post-metadata">

**Author:** ![Douglas\_Kelly](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/douglas_kelly/32/102_2.png) [@Douglas\_Kelly](https://techcommunity.softwareag.com/u/Douglas_Kelly)\
**Post date:** [March 10, 2013, 8:32am UTC](https://techcommunity.softwareag.com/t/input-statement/102516/5 "2013-03-10T08:32:25Z")

</div>

You could also try SG=OFF (turns off space for the sign)

8T ‘HEURE : ’ (DPI) \*IN £MAP-LOCAL.£HR-CHRONO  
(AD=MILT’\_’ SG=OFF) //

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/techcommunity/original/3X/c/d/cd19967bb605d28a72d77eb83a1cae22f3df2eb8.svg) [@system](https://techcommunity.softwareag.com/u/system)\
**Post date:** [April 2, 2021, 3:02pm UTC](https://techcommunity.softwareag.com/t/input-statement/102516/6 "2021-04-02T15:02:58Z")

</div>


