JBase Distributed Files for STMT.ENTRY

  • dodgycode
  • Topic Author
  • Offline
  • New Member
  • New Member
More
15 years 7 months ago #3953 by dodgycode
JBase Distributed Files for STMT.ENTRY was created by dodgycode
I am using T24 R7.003,jbase 5.0.5 and and I am having problems trying to create a distributed files on STMT.ENTRY, CATEG.ENTRY and RE.CONSOL.SPEC.ENTRY. I was able to do it in Universe without any problems and have set up the distributed files in JBASE as per the documentation on the website. The problem is that when I amend the VOC file to point to the new distributed file stub with the routine attached it just gives me "jbase bus error" and crashes my JBASE session. Any and all experience with this would be helpful ?

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

More
13 years 10 months ago #8538 by oscarramol
Replied by oscarramol on topic Re: JBase Distributed Files for STMT.ENTRY
STEPS


0. Count records in application
COUNT F.APP.NAME

1.
jstat -s F.APP.NAME


2.
jsh ~ -->JED BANK.BP DIST.APP.NAME.10

File BANK.BP , Record 'DIST.AP.NAME.10' Insert 22:01:44
Command-> EX
0001 *
0002 * <Rating>0</Rating>
0003 *
0004 SUBROUTINE DIST.APP.NAME.10(P$RESERVED, P$KEY, P$PARTNO)
0005 DEFC JLibBCONV_IB( VAR )
0006 CURRNO = MOD(CHECKSUM(P$KEY),10) + 1
0007 P$PARTNO = JLibBCONV_IB( CURRNO )
0008 RETURN
End Of Record

3.
EB.COMPILE BANK.BP DIST.APP.NAME.10



4.
jsh ~ -->AB.DISTRIBUTE -N10 -S125001 DIST.APP.NAME.10 F.APP.NAME



5.Its going to ask:
Copy records from backup file into main file Y / N ?


6. Type Y


7.
jsh ~ -->VERIFY-DISTRIB F.APP.NAME


8. jsh bxmprd ~ -->jshow -c DIST.APP.NAME


9. Count records again, the answer must be the same as in 0.
COUNT F.APP.NAME


Hope this help

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

Time to create page: 0.028 seconds