Sponsored Content
Full Discussion: Flat File Validation
Top Forums UNIX for Beginners Questions & Answers Flat File Validation Post 303038223 by Neo on Wednesday 28th of August 2019 03:14:06 AM
Old 08-28-2019
Do not post classroom or homework problems in the main forums. Homework and coursework questions can only be posted in this forum under special homework rules.

Please review the rules, which you agreed to when you registered, if you have not already done so.

More-than-likely, posting homework in the main forums has resulting in a forum infraction. If you did not post homework, please explain the company you work for and the nature of the problem you are working on.

If you did post homework in the main forums, please review the guidelines for posting homework and repost.

Thank You.

The UNIX and Linux Forums.
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

validation :file <filename>

My user is ftp a CSV file from window. There is possiblity to doing FTP through different mode. This file is then picked by another program, but I want to make sure the FTP file would be always ascii format, bu releasing a commaon File <file name> Can any one provide input , abut how to put a... (2 Replies)
Discussion started by: u263066
2 Replies

2. UNIX for Dummies Questions & Answers

Unix File Validation! Help

Hi All, I got a file with 3 fields delimited by hyphen "-". I have to validate & cleanse the data before i begine the processing Requirements 1. No record should contain more than 2 delimiters 2. No record should even contain less than 2 delimiters 3. Any records that matches rule 1 &... (1 Reply)
Discussion started by: minnuverma
1 Replies

3. Shell Programming and Scripting

Unix File Validation! Help

Hi All, I got a file with 3 fields delimited by hyphen "-". I have to validate & cleanse the data before i begine the processing Requirements 1. No record should contain more than 2 delimiters 2. No record should even contain less than 2 delimiters 3. Any records that matches rule 1 &... (8 Replies)
Discussion started by: minnuverma
8 Replies

4. UNIX for Dummies Questions & Answers

File Validation

Hi All, I am new to UNIX scripting. I need to validate a file. I need to check whether the file has a header , detail records and footer. If all the file is good I need to create a status file with the status 'Y' else 'N'. I have pasted the an example of the file below: ... (5 Replies)
Discussion started by: kumar66
5 Replies

5. Shell Programming and Scripting

File and Data Validation.

Hello, I am working on an interface between a legacy system and an ERP system.The format of the data extracted into the staging folder from the legacy system is a follows. One control file named ExtractDataControl.txt Multiple entity files eg R1001.txt, R1002.txt, R1020.txt The control... (5 Replies)
Discussion started by: Savio_Saldanha
5 Replies

6. Shell Programming and Scripting

File Name Validation

Hi All, I am trying to validate the file name against the naming convention mentioned in configuration file. In the configuration file, the file name convention is mentioned as: Myfile_SQ<NN>_<NN>_YYYYMMDD_HHMMSS.xml The actual file received is Myfile_SQ10_30_20110423_073002.xml How do... (1 Reply)
Discussion started by: angshuman
1 Replies

7. Shell Programming and Scripting

File validation

Hello, File contains 1,3 and 5 are required columns. it's working use this command. awk -F\| '$1 && $3 && $5' test1.txt > test2.txt How can use this unix programming.while using runnign this scirpt,it's raising the error. awk: ^ syntax error #!/usr/bin/ksh `awk -F\| '$1 &&... (3 Replies)
Discussion started by: bammidi
3 Replies

8. Shell Programming and Scripting

Unicode file validation

I don't want HTML_CONTENT,RICH_CONTENT,TEXT_CONTENT columns data in the file and reset of data we need to extract. Find the attached file. Need to extract date in between DI_UX_ROW_END tag. Can help me using unix command using AWK. Thanks, (2 Replies)
Discussion started by: bmk
2 Replies

9. Shell Programming and Scripting

File validation

Hi there, As a part of file validation, I needed to check for delimiter count in the file. My aim is to find, how many records have failed to have predefined numbers of delimiters in the file. My code looks like below i=`awk -F '|' 'NF != 2 {print NR, $0} ' ${pinb_fldr}/${pfile}DAT |... (3 Replies)
Discussion started by: anandapani
3 Replies

10. Shell Programming and Scripting

Datatype file validation

I have a sourcefile which contains data as below.I want to check whether datatype,structure and date format looks good as mentioned. Data is delemited by cydila . Source file-Emp.txt sno name phoneno dept joineddate 1 vivek 0861 CSE 2013-05-29 00:00:00 2 dinesh 123456 ECE ... (2 Replies)
Discussion started by: katakamvivek
2 Replies
SOAP::WSDL::Manual::FAQ(3pm)				User Contributed Perl Documentation			      SOAP::WSDL::Manual::FAQ(3pm)

NAME
SOAP::WSDL::Manual::FAQ - Frequently Asked Questions (and answers) Development status Can I use SOAP::WSDL in a production environment? Yes. SOAP::WSDL is used in production environments. You should - as always - apply common sense and take appropriate safety measures, especially if running SOAP::WSDL as a server. Can I throw the WSDL away after generating? Please don't. Future versions of SOAP::WSDL may require you to re-generate interfaces in order to use them. SOAP
/WSDL Version and message styles Which SOAP / WSDL versions does SOAP::WSDL support? SOAP1.1 and WSDL1.1. SOAP1.2 and WSDL2 are not supported yet. Which SOAP message Styles are supported? document/literal. The message / encoding styles rpc/encoded and rpc/literal are not supported (rpc/literal is hardly used). rpc/literal is not implemented yet. Unfortunately, SOAP::WSDL can't even parse many rpc/encoded WSDL definitions, and thus cannot inform you about unsupported message styles in some situations. Aren't rpc variants bad anyway? No. They can be as well-defined and useful as the document/literal variant. The difference between rpc and document is that rpc SOAP messages have an additional container named after the remote procedure called. rpc/literal is RPC with named parameters, whereas rpc/encoded corresponds to positional parameters. rpc/encoded is prohibited by the WS-I Basic Profile. However, rpc/encoded is still popular, especially for scripting languages like perl, python or php. You should probably use SOAP::Lite for rpc/encoded web services. All the document/rpc literal/encoded discussion will cede with WSDL2.0: These variants are dropped in favour of an extensible operation style mechanism. XML Parsing / Generation Does SOAP::WSDL support namespaces? Well, sort of. SOAP::WSDL can use WSDL definitions containing namespaces, and emits SOAP messages with namespace information. Its SOAP message parser however, is not namespace sensitive but uses the pre-shared information from the WSDL for looking up what each XML node means. SOAP::WSDL can parse SOAP messages including namespace information up to the point where equally named elements from different namespaces may appear at the same position. This is a long-standing feature request and will eventually be resolved. Validation Does SOAP::WSDL perform XML Schema Validation? No, SOAP::WSDL does not perform XML Schema Validation. It does, however, enforce the correct structure on both XML and perl data. Occurrence, ordering, value-spaces, and identity constraints are not checked. Does SOAP::WSDL perform XML Validation? No, SOAP::WSDL does not perform XML Validation (that is, validation against a DTD). WS-I prohibits the use of DTDs in WSDL definitions. Isn't validation required for XML? No. The XML Specification does not require validation from XML processors. It states how validating and non-validating parsers must react on errors. Note: Validation in the context of (only) XML actually means DTD validation. And doesn't XML Schema require validation? The XML Schema specification requires conformant XML Schema processors to be able to validate XML Schema constraints. SOAP::WSDL is not a conformant XML Schema processor in this sense, as it does not validate all XML Schema constraints. And does SOAP require XML Schema Validation? No. The SOAP1.1 note does not say anything about validation. The SOAP1.2. specification explicitly states that XML Schema validation is not required for the SOAP envelope, and that applications may decide whether they need XML Schema Validation for the SOAP payload or not. The WSDL 1.1. specification does not mandate XML Schema validation. It does actually not even mandate the use of XML Schema for type definitions. Can SOAP::WSDL parse SOAP message fragments? No. SOAP::WSDL can parse neither well-formed nor not-well-formed SOAP message chunks. Persistence Can I use Storable to freeze/thaw SOAP::WSDL's objects? You can freeze almost all of SOAP::WSDL's objects. The only exceptions are the objects used in parsing WSDL definitions itself - they cannot be frozen. Note that freezing/thawing inside-out objects comes with a performance penalty and is at around the speed of XML generation/parsing. Performance and memory consumption How fast is SOAP::WSDL? As of this writing, SOAP::WSDL is the fastest SOAP Client toolkit for perl available on CPAN. There are no published server benchmarks yet. If you need extra speed you can try SOAP::WSDL_XS available from SOAP::WSDL's subversion repository at: https://soap-wsdl.svn.sourceforge.net/svnroot/soap-wsdl/SOAP-WSDL_XS/trunk Note however that SOAP::WSDL_XS is not very mature yet and only suitable for use in trusted environments - you definitely should not use it on a public internet SOAP server yet. Note further that SOAP::WSDL's inside-out objects come with a big performance penalty when freezing/thawing them with Storable. There's a lot of perl modules generated. Don't they eat up all my memory? SOAP::WSDL usually uses a bit more memory than SOAP::Lite, but less than XML::Compile. Test if in question. perl v5.10.1 2010-12-21 SOAP::WSDL::Manual::FAQ(3pm)
All times are GMT -4. The time now is 02:29 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy