Re: [U2] How can I tell a Type 1 from a Type 19
George, Try using the STATUS statement... STATUS FS FROM F.FILE ELSE ABORT FILE.TYPE = FS21 Perry -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of George Gallen Sent: Thursday, January 21, 2010 12:48 PM To: U2 Users List Subject: [U2] How can I tell a Type 1 from a Type 19 without shelling to unix to see if a .type1 exists in the file directory, is there a way to tell a type 1 from a type 19 from within Universe? I tried using FILEINFO(file, 3) but both type 1 and type 19 return a value 4 (type 1) George George Gallen Senior Programmer/Analyst Accounting/Data Division, EDI Administrator ggal...@wyanokegroup.com ph:856.848.9005 Ext 220 The Wyanoke Group http://www.wyanokegroup.com ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users CONFIDENTIALITY NOTICE: This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. ZirMed, Inc. has strict policies regarding the content of e-mail communications, specifically Protected Health Information, any communications containing such material will be returned to the originating party with such advisement noted. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message. ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] How can I tell a Type 1 from a Type 19
thanks...I looked at status (function that is), and didn't notice there was also a status statement. That should work George -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users- boun...@listserver.u2ug.org] On Behalf Of Perry Taylor Sent: Thursday, January 21, 2010 3:29 PM To: U2 Users List Subject: Re: [U2] How can I tell a Type 1 from a Type 19 George, Try using the STATUS statement... STATUS FS FROM F.FILE ELSE ABORT FILE.TYPE = FS21 Perry -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of George Gallen Sent: Thursday, January 21, 2010 12:48 PM To: U2 Users List Subject: [U2] How can I tell a Type 1 from a Type 19 without shelling to unix to see if a .type1 exists in the file directory, is there a way to tell a type 1 from a type 19 from within Universe? I tried using FILEINFO(file, 3) but both type 1 and type 19 return a value 4 (type 1) George George Gallen Senior Programmer/Analyst Accounting/Data Division, EDI Administrator ggal...@wyanokegroup.com ph:856.848.9005 Ext 220 The Wyanoke Group http://www.wyanokegroup.com ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users CONFIDENTIALITY NOTICE: This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. ZirMed, Inc. has strict policies regarding the content of e-mail communications, specifically Protected Health Information, any communications containing such material will be returned to the originating party with such advisement noted. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message. ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] How can I tell a Type 1 from a Type 19
After an OPEN the STATUS() function returns the file type. David Norman Senior Software Engineer - SA Ambulance Service ICT Services SA Health Government of South Australia Box 3, GPO Adelaide, South Australia 5001 *+61 8 8274 0384 * fax +61 8 8271 4844 * david.nor...@health.sa.gov.au This e-mail may contain confidential information, which also may be legally privileged. Only the intended recipient(s) may access, use, distribute or copy this e-mail. If this e-mail is received in error, please inform the sender by return e-mail and delete the original. If there are doubts about the validity of this message, please contact the sender by telephone. It is the recipient's responsibility to check the e-mail and any attached files for viruses. -- Message: 18 Date: Thu, 21 Jan 2010 13:47:47 -0600 From: George Gallen ggal...@wyanokegroup.com To: U2 Users List u2-users@listserver.u2ug.org Subject: [U2] How can I tell a Type 1 from a Type 19 Message-ID: 6d57ef06d84b5541af530227504bb68f5b60b27...@34093-mbx-C06.mex07a.mlsrvr.com Content-Type: text/plain; charset=us-ascii without shelling to unix to see if a .type1 exists in the file directory, is there a way to tell a type 1 from a type 19 from within Universe? I tried using FILEINFO(file, 3) but both type 1 and type 19 return a value 4 (type 1) George George Gallen Senior Programmer/Analyst Accounting/Data Division, EDI Administrator ggal...@wyanokegroup.com ph:856.848.9005 Ext 220 The Wyanoke Group http://www.wyanokegroup.com -- ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users End of U2-Users Digest, Vol 9, Issue 18 *** ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] How can I tell a Type 1 from a Type 19
Actually, the STATUS statement returns the file type, The x=STATUS(#) function does not (or I couldn't figure it out) return the file type after an open but the STATUS statement, which works off the filehandle will return the file type in pos 23 of the dynamic array that is returned. That was my original issue, I looked at status() and didn't see what I needed, and didn't realize that there was another status statement, which was why I missed it originally. George -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users- boun...@listserver.u2ug.org] On Behalf Of Norman, David (Health) Sent: Thursday, January 21, 2010 5:14 PM To: 'u2-users@listserver.u2ug.org' Subject: Re: [U2] How can I tell a Type 1 from a Type 19 After an OPEN the STATUS() function returns the file type. David Norman Senior Software Engineer - SA Ambulance Service ICT Services SA Health Government of South Australia ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] How can I tell a Type 1 from a Type 19
OPEN 'TYPE19FILE' TO F THEN CRT STATUS() ;* = prints 19 -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of George Gallen Sent: Friday, 22 January 2010 09:20 To: U2 Users List Subject: Re: [U2] How can I tell a Type 1 from a Type 19 Actually, the STATUS statement returns the file type, The x=STATUS(#) function does not (or I couldn't figure it out) return the file type after an open but the STATUS statement, which works off the filehandle will return the file type in pos 23 of the dynamic array that is returned. That was my original issue, I looked at status() and didn't see what I needed, and didn't realize that there was another status statement, which was why I missed it originally. George -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users- boun...@listserver.u2ug.org] On Behalf Of Norman, David (Health) Sent: Thursday, January 21, 2010 5:14 PM To: 'u2-users@listserver.u2ug.org' Subject: Re: [U2] How can I tell a Type 1 from a Type 19 After an OPEN the STATUS() function returns the file type. David Norman Senior Software Engineer - SA Ambulance Service ICT Services SA Health Government of South Australia ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users ** This email message and any files transmitted with it are confidential and intended solely for the use of addressed recipient(s). If you have received this communication in error, please reply to this e-mail to notify the sender of its incorrect delivery and then delete it and your reply. It is your responsibility to check this email and any attachments for viruses and defects before opening or sending them on. Spotless collects information about you to provide and market our services. For information about use, disclosure and access, see our privacy policy at http://www.spotless.com.au Please consider our environment before printing this email. ** ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] How can I tell a Type 1 from a Type 19
hmm. I Didn't get the idea that was how it was used from the manualimagine that. I did test it, and it does work as shown. Thanks George -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users- boun...@listserver.u2ug.org] On Behalf Of Boydell, Stuart Sent: Thursday, January 21, 2010 6:06 PM To: U2 Users List Subject: Re: [U2] How can I tell a Type 1 from a Type 19 OPEN 'TYPE19FILE' TO F THEN CRT STATUS() ;* = prints 19 -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of George Gallen Sent: Friday, 22 January 2010 09:20 To: U2 Users List Subject: Re: [U2] How can I tell a Type 1 from a Type 19 Actually, the STATUS statement returns the file type, The x=STATUS(#) function does not (or I couldn't figure it out) return the file type after an open but the STATUS statement, which works off the filehandle will return the file type in pos 23 of the dynamic array that is returned. That was my original issue, I looked at status() and didn't see what I needed, and didn't realize that there was another status statement, which was why I missed it originally. George -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users- boun...@listserver.u2ug.org] On Behalf Of Norman, David (Health) Sent: Thursday, January 21, 2010 5:14 PM To: 'u2-users@listserver.u2ug.org' Subject: Re: [U2] How can I tell a Type 1 from a Type 19 After an OPEN the STATUS() function returns the file type. David Norman Senior Software Engineer - SA Ambulance Service ICT Services SA Health Government of South Australia ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users *** *** This email message and any files transmitted with it are confidential and intended solely for the use of addressed recipient(s). If you have received this communication in error, please reply to this e-mail to notify the sender of its incorrect delivery and then delete it and your reply. It is your responsibility to check this email and any attachments for viruses and defects before opening or sending them on. Spotless collects information about you to provide and market our services. For information about use, disclosure and access, see our privacy policy at http://www.spotless.com.au Please consider our environment before printing this email. *** *** ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users