×
Discuss on any other topics
T24 DFE
- Jyags
- Topic Author
- Offline
- New Member
Less
More
- Posts: 2
- Thank you received: 0
3 years 3 months ago #23406
by Jyags
T24 DFE was created by Jyags
Hi Friends, please let me know, how to append the sequence number in the user defined ID in DFE ID routine?
Please Log in or Create an account to join the conversation.
- silvergem
- Offline
- Elite Member
- TAFC|R12/R13, TAFJ|R20
Less
More
- Posts: 267
- Thank you received: 21
3 years 3 months ago #23407
by silvergem
Replied by silvergem on topic T24 DFE
Y.ID = ''
Y.ID = Y.ID : Y.SEQUENCE.NUM
Y.ID = Y.ID : Y.SEQUENCE.NUM
Please Log in or Create an account to join the conversation.
- VK
- Offline
- Platinum Member
- Globus:G9-G13|TAFC:R05-R23|TAFJ:R19,R23,R24:test
Less
More
- Posts: 1181
- Thank you received: 157
- Jyags
- Topic Author
- Offline
- New Member
Less
More
- Posts: 2
- Thank you received: 0
3 years 3 months ago #23409
by Jyags
Replied by Jyags on topic T24 DFE
My friend, have you written so far DFE ID routine? If yes, then how you will get sequence number for the incoming data record ? For example : Y.IN.OUT = Y.DATE:"-":Y.CHQ.NUMBER:"-": << Y.SEQ.NO>> ; Here, I want to pass the each record count as sequence number but how ?
Note : DCOUNT no use and looping concept will not work, if so then how I achieve this requirement ?
Note : DCOUNT no use and looping concept will not work, if so then how I achieve this requirement ?
Please Log in or Create an account to join the conversation.
- VK
- Offline
- Platinum Member
- Globus:G9-G13|TAFC:R05-R23|TAFJ:R19,R23,R24:test
Less
More
- Posts: 1181
- Thank you received: 157
3 years 3 months ago #23410
by VK
Cheers
VK
Replied by VK on topic T24 DFE
Hi,
if your note concerns me - I did not. I only noted that the line "Y.ID = ''" has no meaning since at the very next line Y.ID is assigned again. :))
if your note concerns me - I did not. I only noted that the line "Y.ID = ''" has no meaning since at the very next line Y.ID is assigned again. :))
Cheers
VK
Please Log in or Create an account to join the conversation.
- silvergem
- Offline
- Elite Member
- TAFC|R12/R13, TAFJ|R20
Less
More
- Posts: 267
- Thank you received: 21
3 years 3 months ago #23412
by silvergem
Replied by silvergem on topic T24 DFE
Its a good practice to initialize the variable. Especially when you are using it on a loop.
Please Log in or Create an account to join the conversation.
- VK
- Offline
- Platinum Member
- Globus:G9-G13|TAFC:R05-R23|TAFJ:R19,R23,R24:test
Less
More
- Posts: 1181
- Thank you received: 157
3 years 3 months ago #23413
by VK
Cheers
VK
Replied by VK on topic T24 DFE
:)))
Assigning for the first time - isn't that an intialization?
I also didn't see a loop here.
I agree that if you have "init" section where all variables are initialized - that's a good practice. Assigning 2 different values on 2 consequent lines - is not.
Assigning for the first time - isn't that an intialization?
I also didn't see a loop here.
I agree that if you have "init" section where all variables are initialized - that's a good practice. Assigning 2 different values on 2 consequent lines - is not.
Cheers
VK
Please Log in or Create an account to join the conversation.
Time to create page: 0.077 seconds