Download all field from t24

  • nobuzaki
  • Topic Author
  • Offline
  • New Member
  • New Member
More
8 years 2 months ago #20382 by nobuzaki
Download all field from t24 was created by nobuzaki
Hello all,
Currently i have to deal with temenos system and its is my first time. I tried every source on the internet and only find a few resources.
I want to ask questions can we download all available field from files. example i want to download FBNK.CUSTOMER that contain all fields ( i want to make csv from it). What i have tried is by selecting it to save list, but it only download the key. also my other question is how to make some program/operation that runs periodically every month to do download operations as i asked before?

Thank you very much.

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

  • VK
  • VK's Avatar
  • Away
  • Platinum Member
  • Platinum Member
  • Globus:G9-G13|TAFC:R05-R23|TAFJ:R19,R23,R24:test
More
8 years 2 months ago - 8 years 2 months ago #20383 by VK
Replied by VK on topic Download all field from t24
Hi
to export all fields from a file you either have to issue a very long jQL statement like:
SELECT FBNK.CUSTOMER SAVING EVAL "DQUOTE(@ID):',':DQUOTE(MNEMONIC):',':DQUOTE(SHORT.NAME)"
SAVE.LIST CUST.csv

(you will have to add all other fields after SHORT.NAME)

... or to write a program/subroutine that reads the FBNK.CUSTOMER record by record, replaces each @FM (field mark) to a comma (not forgetting to enclose each field in double quotes) and then write the result to the output flat file. Should be quite easy.

for your code to be run monthly you need to add it to a COB job with frequency = "M"

Cheers
VK
Last edit: 8 years 2 months ago by VK.
The following user(s) said Thank You: nobuzaki

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

  • nobuzaki
  • Topic Author
  • Offline
  • New Member
  • New Member
More
8 years 2 months ago #20384 by nobuzaki
Replied by nobuzaki on topic Download all field from t24
Thank you for your quick response VK!
i see so i have to do mention all fields then...
i will explore and find about program example then.

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

  • nobuzaki
  • Topic Author
  • Offline
  • New Member
  • New Member
More
8 years 2 months ago #20394 by nobuzaki
Replied by nobuzaki on topic Download all field from t24
hi again VK,

can u give me some example how to do this in program?

Thank you

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

  • VK
  • VK's Avatar
  • Away
  • Platinum Member
  • Platinum Member
  • Globus:G9-G13|TAFC:R05-R23|TAFJ:R19,R23,R24:test
More
8 years 2 months ago #20395 by VK
Replied by VK on topic Download all field from t24
Hi
I think it will be better if you write this program yourself so you clearly understand what's what.

Use jBC statement OPEN to open a file; use SELECT to get all record @IDs, then LOOP ...READNEXT to read each record.
To transform field marks to commas use CHANGE statement.

To create and populate the output flat file use OPENSEQ .. WRITESEQ .. CLOSESEQ.
Good luck!

More information and examples:
jbc.temenos.com

Cheers
VK

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

Time to create page: 0.082 seconds