LIST using field number instead of field names

More
12 years 5 months ago #13391 by seer
Hi

how can I list using field numbers instead of field names because when I use field names it says Dictionary word is missing, but the field has data....

Please Log in or Create an account to join the conversation.

  • jpb
  • jpb's Avatar
  • Offline
  • Moderator
  • Moderator
  • retired . . . ¯\_(ツ)_/¯
More
12 years 5 months ago #13392 by jpb
You can use *A1 *A2 *A3 for any field.

But have you checked your DICT for the file in question?

Please Log in or Create an account to join the conversation.

More
12 years 5 months ago #13393 by seer
I have tried to edit the field definition file with JED I_F.CATEG.ENTRY and add the field as I can see in that file but still it ask for dictionary which I dont know where to define it. also the fields are numberd as 01 , 02,

Please Log in or Create an account to join the conversation.

  • jpb
  • jpb's Avatar
  • Offline
  • Moderator
  • Moderator
  • retired . . . ¯\_(ツ)_/¯
More
12 years 5 months ago #13394 by jpb
We are talking about LIST command from jshell - arn't we ?

So you can do :

LIST FBNK.CATEG.ENTRY

and you'll see all field that are defined in F.CATEG.ENTRY]D (or DICT F.VATEG.ENTRY) in record @.

The commands
LIST FBNK.CATEG.ENTRY ACCOUNT.NUMBER COMPANY.CODE AMOUNT.LCY
and
LIST FBNK.CATEG.ENTRY *A1 *A2 *A3

will show the same.


The I_F-file is the insert for jBase routines, assigning variables (= field name) to numbers that represent the displacement of this field within the physical record.
The following user(s) said Thank You: seer

Please Log in or Create an account to join the conversation.

More
12 years 4 months ago #13412 by seer
LIST FBNK.CATEG.ENTRY *A1 *A2 *A3 *A62
I have done it Thank you a lot

Please Log in or Create an account to join the conversation.

Time to create page: 0.040 seconds