|
View previous topic :: View next topic
|
| Author |
Message |
Ali_gezer
Active User
Joined: 06 Apr 2021 Posts: 123 Location: argentina
|
|
|
|
Hello, how are you.
I have the next copy
| Code: |
| FIRST PIC 9(05) COMP-3 |
I tried to use:
| Code: |
OUTFIL IFTHEN=(WHEN=(56,1,CH,EQ,C'P',AND,34,12,ZD,GT,400000000000),
BUILD=(3z)) |
But when I use the output to see it in the FILE MANAGER with the copy I see the classic errror
CAP-OTOR
Ñ2
PD 1:3
<---+>
****** **** Top of data ****
=LGTH ******
=LGTH ******
=LGTH ******
=LGTH ******
=LGTH ******
=LGTH ******
Do you have any clue that I could investigate?
Thank you.[/quote] |
|
| Back to top |
|
 |
Joerg.Findeisen
Senior Member

Joined: 15 Aug 2015 Posts: 1448 Location: Bamberg, Germany
|
|
|
|
| Please show sample Input and desired Output (and use code tags). |
|
| Back to top |
|
 |
Ali_gezer
Active User
Joined: 06 Apr 2021 Posts: 123 Location: argentina
|
|
|
|
| Joerg.Findeisen wrote: |
| Please show sample Input and desired Output (and use code tags). |
Hello, thanks.
The input of this archive is one of 400 bytes, each time the IFTHEN=WHEN clause is satisfied, my intention is to create a record with zeroes pd values that satisfy the PIC 5 COMP-3 requiriment in order to see this right in the file manager.
But when I use
| Code: |
OUTFIL IFTHEN=(WHEN=(56,1,CH,EQ,C'P',AND,34,12,ZD,GT,400000000000),
BUILD=(3z))
|
I get one output file that when I tried to see in the file manager with the copy shown above the file manager shows it wrongly.
So the output I desire is one that satisfy the PIC 9(5) COMP-3 requiriment in order to see this right in the file manager, but it seems that the BUILD=(3z) is not working.
Thanks for your help. |
|
| Back to top |
|
 |
Joerg.Findeisen
Senior Member

Joined: 15 Aug 2015 Posts: 1448 Location: Bamberg, Germany
|
|
| Back to top |
|
 |
Ali_gezer
Active User
Joined: 06 Apr 2021 Posts: 123 Location: argentina
|
|
|
|
Thank you friend, I own you several helps, I will se that pdf. |
|
| Back to top |
|
 |
Joerg.Findeisen
Senior Member

Joined: 15 Aug 2015 Posts: 1448 Location: Bamberg, Germany
|
|
| Back to top |
|
 |
sergeyken
Senior Member

Joined: 29 Apr 2008 Posts: 2290 Location: USA
|
|
|
|
| Ali_gezer wrote: |
my intention is to create a record with zeroes pd values that satisfy the PIC 5 COMP-3 requiriment in order to see this right in the file manager.
But when I use
| Code: |
OUTFIL IFTHEN=(WHEN=(56,1,CH,EQ,C'P',AND,34,12,ZD,GT,400000000000),
BUILD=(3z))
|
I get one output file that when I tried to see in the file manager with the copy shown above the file manager shows it wrongly.
So the output I desire is one that satisfy the PIC 9(5) COMP-3 requiriment in order to see this right in the file manager, but it seems that the BUILD=(3z) is not working. |
The BUILD=(3Z) (not BUILD=(3z)) should create a field looking as X'000000' in memory
The PIC 9(5) COMP-3 VALUE +0 should create a field looking as X'00000C' in memory
Please, try to understand the difference in data formats. |
|
| Back to top |
|
 |
|
|