[Hardhats-members] Failure of DO FILE^DICN

2006-01-04 Thread James Gray
Does anyone have any tricks or good ways to find out why D FILE^DICN returns Y=-1. I am editing file 2. DIC="^DPT("DIC(0)="LX"DIC("DR")=".02M;.032320928;.09123456789;" and X contains a valid name. Please do not suggest that I change the call as the call is not in my code to

Re: [Hardhats-members] Failure of DO FILE^DICN

2006-01-04 Thread Kevin Toppenberg
To explore this, I might try doing the same thing with the silent database API calls, and then read the message that is sent back. If that didn't give a result, I would then use my debugger to step through the process. KevinOn 1/4/06, James Gray [EMAIL PROTECTED] wrote: Does anyone have any

Re: [Hardhats-members] Failure of DO FILE^DICN

2006-01-04 Thread Kevin Toppenberg
Another few things caught my eye. Field .03 is date of birth. You are putting 2320928. Perhaps you should use an external date form? Also, .09 is a SSNum, there could be another patient with this same sample SSNum, or there may be a validity test that it is failing. Again, FILE^DIE should be able

Re: [Hardhats-members] Failure of DO FILE^DICN

2006-01-04 Thread James Gray
PM Subject: Re: [Hardhats-members] Failure of DO FILE^DICN To explore this, I might try doing the same thing with the silent database API calls, and then read the message that is sent back. If that didn't give a result, I would then use my debugger to step through the process.Kevin

Re: [Hardhats-members] Failure of DO FILE^DICN

2006-01-04 Thread James Gray
-- From: Kevin Toppenberg To: hardhats-members@lists.sourceforge.net Sent: Wednesday, January 04, 2006 1:01 PM Subject: Re: [Hardhats-members] Failure of DO FILE^DICN Another few things caught my eye. Field .03 is date of birth. You are putting 2320928. Perhaps you

Re: [Hardhats-members] Failure of DO FILE^DICN

2006-01-04 Thread James Gray
- Original Message - From: Greg Woodhouse [EMAIL PROTECTED] --- James Gray [EMAIL PROTECTED] wrote: Sometimes it work and sometimes it doesn't. So I can tell it is not something simple. Using internal values for a date like 2320928 usually works with a 4 slash stuff the way I

Re: [Hardhats-members] Failure of DO FILE^DICN

2006-01-04 Thread James Gray
- Original Message - From: Kevin Toppenberg To: hardhats-members@lists.sourceforge.net Sent: Wednesday, January 04, 2006 1:01 PM Subject: Re: [Hardhats-members] Failure of DO FILE^DICN Another few things caught my eye. Field .03 is date of