FCC a file with random sequence

Hi Everybody,
   HI,
I am facing one issue Can you tell me how i can resolve it. please see the incoming file structure i am getting
010johnnewjersy
02001price
03002989
030039898
020011898
02001101
0309090
010johnks
where 010-keyfield
020-keyfield
030-keyfiled
here rows with 020 030 can repeatand whole set 010,020..unbound,030..unbound . 010 record can repeat once again which will treated as new set
hope you understand. need directions to configure my sender adapter. 
Thanks for your time
bye
raj

Hi,
Pls do Content conversion in adapter as follows.
Module Key            Parameter Name                 Parameter Value
Plain2XML              xml.recordsetName               MyRecordset
Plain2XML              xml.recordsetStructure           NameA,1,NameB,,NameC,
Plain2XML              xml.keyFieldName                 MyKey
Plain2XML              xml.keyFieldType                   CaseSensitiveString
Plain2XML              xml.NameA.fieldNames          MyKey,field-nameA
Plain2XML              xml.NameA.fieldFixedLengths  ex:2,10
Plain2XML              xml.NameA.keyFieldValue       010
Plain2XML              xml.NameB.fieldNames           MyKey,field-nameB1,field-nameB2
Plain2XML              xml.NameB.fieldFixedLengths  ex:2,3,3
Plain2XML              xml.NameB.keyFieldValue        020
Plain2XML              xml.NameC.fieldNames            MyKey,field-nameC
Plain2XML              xml.NameC.fieldFixedLengths   ex:2,5
Plain2XML              xml.NameC.keyFieldValue        020
It will solve your query.Please let me know if you still face problems.
Please award marks if found useful.
Thanks
Hamja

Similar Messages

  • Hidden folders and files with random character filenames

    You could try media info to see if that tells you any different - be sure to decline the stupid addons included
    https://mediaarea.net/en/MediaInfo

    Recently I noticed several hidden folders with random character names and each of those folders has 5 files in them with randomly named files. These are tiff, png, bmp, and docx files. I copied the folder to virtual machine removed from the network to inspect them, but they can not be opened as it says files appears damaged or corrupt. They appear to be benign as I ran two full system virus scans (including malwarebytes), but really bothers me how they got there in the first place. The owner says local administrators. They were found on the root of the C: drive and in documents, pictures, music, and video of the user profile. I attached a picture to help understand what they look. They are different than other examples I have seen when I attempted to google my answer. Thanks in advance!
    This topic first appeared in the Spiceworks Community

  • Problem in creation of File with random numbers

    hi all,
    i have written a function which generates random num,ber and stores in a text file.
    public static void main(String[ ] args) {
    int count=0;
    System.out.println("Generate Files");
    Random R=new Random();
    File F= new File("C:/e.cartesian");
    try{
    FileWriter fw=new FileWriter(F);
    int c=0;
    int rand=200;
    int l=0;
    for(int i=0;i<3;i++)
    {    for(int j=0;j<5;j++)
    {   for(int k=0;k<80;k++)
    c+=1;
    double d=R.nextDouble()*100;
    Double D=new Double(d);
    int dtoi=D.intValue();
    float itof=(dtoi/(float)100.0)+R.nextInt(200)+l;
    Float f=new Float(itof);
    fw.write(f.toString()+" ");
    System.out.println(f.toString());
    fw.write("\n");
    count+=1;
    l+=200;
    System.out.println("Count==>"+count);
    }catch(IOException e){}
    Problem is , if i run this code with condition k<79 or some other smaller value than 80 it doesnt save any value in text file.

    If you close the file after writing it works: fw.close();

  • Rename files with random names

    Hi all -
    I have a folder of 600 images to go on a digital photo frame. The digital photo frame always plays in the same order, so I want to randomize the files before I put them on the frame.
    I tried using automator's batch rename, but that won't randomize the files.
    Anyone know of a software utility to do this easily? I am unfamilar with scripting, so any solutions i've found online that use scripting are foreign to me..
    TIA

    ok, paste the following into script editor and save it as an application.
    tell application "Finder"
    set fol1 to folder "1" of (path to desktop)
    set fol2 to folder "2" of (path to desktop)
    set theNum to number of items in fol1
    repeat with i from 1 to theNum
    set this_item to some item of fol1
    set fname to name of this_item
    set name of this_item to (i as text) & fname
    set x to (first item of fol1 whose name is (i as text) & fname)
    move x to fol2
    end repeat
    end tell
    This will work as follows. Say you have folder on the desktop named 1 with 600 images.
    make a folder named 2 on the desktop and run the script. It will move your images from folder 1 to folder 2 and add a random number between 1 and 600 to the front of their names. The script can be easily adjusted to work on other folders but since you don't know apple script I suggest you create folders 1 and 2 on your desktop, move all your images to folder 1 and run the script. You can run the script by pressing the "run" button in script editor or by double-clicking on the saved application.
    Message was edited by: V.K.

  • Error: "File couldn't be opened for writing" with CinemaDNG sequence

    Using a Premiere Pro > After Effects workflow with my colorist.
    I created a project in Premiere CS6 and used MOV transcodes because Premiere CS6 does not read CinemaDNG sequences. I do not have CC installed on my computer. My colorist, on his computer (we are both using Mavericks), imported the .prproj into AE CS6. We tried to replace MOV files with CinemaDNG sequences, and AE returned this error:
    After Effects error: File couldn't be opened for writing: "[file path]". ( 3 :: 0 )
    Normally when you replace footage with a CinemaDNG sequence in AE, Adobe Camera Raw pops open so you can make changes before the file is important. I have never seen this error before.
    My colorist has CC installed as well as CS6, so we tried that instead.
    Colorist opened the Premiere CS6 project in Premiere CC, creating a new Premiere CC project. Replaced MOV files with CinemaDNG sequences within Premiere CC with no error, project plays fine in Premiere CC. Finally! So we imported the new Premiere CC project in AE CC, and all linked CinemaDNG sequences appear as color bars (unlinked footage). When testing to import a CinemaDNG sequence, AE CC returned the same error as AE CS6.
    So we tried opening the same CinemaDNG files in Photoshop CS6 and Photoshop CC to see if there was an error with Camera Raw. Both versions of Photoshop open the CinemaDNG files correctly in Camera Raw (version 8.3). So now we have CinemaDNG files functioning properly in Premiere Pro, Photoshop, but... not AE?
    Tried replicating this on a second, Mountain Lion computer with both versions of AE, and returned the same issue.
    CinemaDNG files from a different source DID open in AE CC and AE CS6 on both computers, which leads me to believe there is some kind of permissions/metadata issue in this particular set of CinemaDNG files I'm using that's causing problems for AE, but NOT Premiere Pro or Photoshop. Anyone experience anything like this?

    try the "oddball problems" fix:
    http://www.bulletsandbones.com/GB/GBFAQ.html#oddballprobs
    (Let the page FULLY load. The link to your answer is at the top of your screen)

  • Redologs with same sequence

    Hi,
    I realized weird fact on my oracle 9207. I have dumped cntrl file to trace, moved controlfiles and recreated control file with trace script. No problems, control file was created, database was opened w/o problems. When running brarchive (sap tool for compressing and moving redologs to archive location) I saw that there are 2 redolgos with same sequence number.
    from log:
    BR0428W File /oracle/SID/archive/1_2.dbf.Z will be overwritten
    I did some logswitches (last log sequence was 5),I've stopped DB and did again the same procedure with controlfile. When I recreated controlfile and opened Db, I realized that next redologs are generated not from number 6, but from 4. So again 2 redologs (4 and 5) are with same sequence as previous redologs (already zipped and moved in archive location)....
    To prevent overwrite when compressing it with brarchive I've moved those 2 redologs as follows.As you can see fiiles differs in size andI can surely say that those 2 files are not the same, file 1_4.dbf and 1_5.dbf were created twice in oraarch directory in totally different time....Can anyone explain this to me?How it is possible to have redologs files with same sequence? (I did not open DB with resetlogs, it was normal recreation of control file and than simple alter database open). I did test it once again then and same thing occured, again redologs with number 7,8 were created instaed of 9,10 so redologs 7,8 were created twice. There was no shutdown abort or something like this, all done properly with shutdown immediate etc...
    867776 Sep 30 09:11 1_5.dbf.Z_1
    82012 Sep 30 09:33 1_4.dbf.Z
    82007 Sep 30 09:11 1_4.dbf.Z_1
    867779 Sep 30 09:33 1_5.dbf.Z
    11017 Sep 30 09:56 1_8.dbf.Z
    11012 Sep 30 09:33 1_8.dbf.Z_1
    11429 Sep 30 09:56 1_7.dbf.Z
    11427 Sep 30 09:33 1_7.dbf.Z_1
    SQL> @cntrl.sql
    ORACLE instance started.
    Total System Global Area 1117414432 bytes
    Fixed Size 742432 bytes
    Variable Size 503316480 bytes
    Database Buffers 612032512 bytes
    Redo Buffers 1323008 bytes
    Control file created.
    SQL> alter database open;
    Database altered.
    Thanks a lot!

    Hi,
    Sorry someone else was asking if I did resetlogs, so I answered.
    Why I created controlfile?- because I had one link in data location, like data1 was directory for datafiles and data2 was just link to data1. So I dumped controlfile and replaced data2 with data1 and removed link on OS level. Anyway, real reason is not so important, next 2 times I did it just for test if my suspicious about redo sequence s right...
    below cat from alert log where it is saying that about archiving same sequence of redologs in different times as you can see.thx guys for your help here ;-)
    Wed Sep 30 09:18:38 2009
    ARC1: Evaluating archive log 11 thread 1 sequence 5
    ARC1: Beginning to archive log 11 thread 1 sequence 5
    Creating archive destination LOG_ARCHIVE_DEST_1: '/oracle/P2A/oraarch/1_5.dbf'
    Wed Sep 30 09:18:38 2009
    ARC0: Evaluating archive log 11 thread 1 sequence 5
    ARC0: Unable to archive log 11 thread 1 sequence 5
    Log actively being archived by another process
    ARC0: Evaluating archive log 12 thread 1 sequence 6
    ARC0: Beginning to archive log 12 thread 1 sequence 6
    Creating archive destination LOG_ARCHIVE_DEST_1: '/oracle/P2A/oraarch/1_6.dbf'
    Wed Sep 30 09:18:38 2009
    Dictionary check beginning
    Wed Sep 30 09:18:38 2009
    ARC0: Completed archiving log 12 thread 1 sequence 6
    Wed Sep 30 09:18:38 2009
    ARC1: Completed archiving log 11 thread 1 sequence 5
    ARC1: Evaluating archive log 13 thread 1 sequence 7
    ARC1: Beginning to archive log 13 thread 1 sequence 7
    Creating archive destination LOG_ARCHIVE_DEST_1: '/oracle/P2A/oraarch/1_7.dbf'
    ARC1: Completed archiving log 13 thread 1 sequence 7
    Wed Sep 30 09:18:38 2009
    Dictionary check complete
    Wed Sep 30 09:18:46 2009
    ARC1: Beginning to archive log 14 thread 1 sequence 8
    Creating archive destination LOG_ARCHIVE_DEST_1: '/oracle/P2A/oraarch/1_8.dbf'
    ARC1: Completed archiving log 14 thread 1 sequence 8
    Completed: CREATE CONTROLFILE REUSE DATABASE "P2A" NORESETLOG
    Wed Sep 30 09:37:52 2009
    ARC1: Evaluating archive log 13 thread 1 sequence 7
    ARC1: Beginning to archive log 13 thread 1 sequence 7
    Creating archive destination LOG_ARCHIVE_DEST_1: '/oracle/P2A/oraarch/1_7.dbf'
    ARC1: Completed archiving log 13 thread 1 sequence 7
    ARC1: Evaluating archive log 14 thread 1 sequence 8
    ARC1: Beginning to archive log 14 thread 1 sequence 8
    Creating archive destination LOG_ARCHIVE_DEST_1: '/oracle/P2A/oraarch/1_8.dbf'
    ARC1: Completed archiving log 14 thread 1 sequence 8
    ARC1: Evaluating archive log 11 thread 1 sequence 9
    ARC1: Beginning to archive log 11 thread 1 sequence 9
    Creating archive destination LOG_ARCHIVE_DEST_1: '/oracle/P2A/oraarch/1_9.dbf'
    ARC1: Completed archiving log 11 thread 1 sequence 9
    Wed Sep 30 09:55:25 2009
    alter database open

  • Why is it that when I try to open a project, it says "the project contained a sequence that could not be opened. No sequence preview preset file or codec could be associated with this sequence type"?

    It could be opened last night but today it just kept showing "the project contained a sequence that could not be opened. No sequence preview preset file or codec could be associated with this sequence type". I really need to access my video.
    Some help out there, please?

    Hi,
    Please check this out : https://forums.adobe.com/message/4626663#4626663#4626663
    Thank You
    Arjun

  • The same file with the same name need to call two RFC's with the sequence

    i have to pick up the same file with the same name  and call the two RFC in sequence
    scenario.i have xxx.txt file.file should be proces first calling the first rfc .
    I created two different communication channels
    for the first sender file communication channel i should not use processing mode archive,delete,Test
    and only option is set read only.
    if i set the read only the file ..then i can not use the same file again to call second RFC.
    how we can acheive the above scenario?
    Regards,
    Hyma

    If you want to file need to be picked up twice in same folder, it seems it is hard for PI adapter to achieve it, you should look for API's that control adapters availibility.
    But if you have different folder, then it make your scenario simpler since you can process first time, then output to another folder, configure another adapter to pick up from different folder.
    Regards
    Liang

  • "Diff Sequence File With" doesn't look into sub-sequences.

    Hello guys.
    I have these 2 sequences in Teststand 2.0 that I'm trying to compare, but when I use the command "Edit" - "Diff Sequence File With" it only looks in the upper level properties (MainSequence, FileGlobals, etc.) but it doesn't check for the contents inside the sub-sequences, which is where I have most of my measurements and tests.
    Hope you can help. Thanks.

    If you expand the 'Sequences' node, you should see the list of all the
    sequences from your file.  Then expand one of the Sequences and it
    should list the Context variables for those Sequences.  This is
    where you should see a comparison of the Locals set.  As a test,
    try comparing the Sequential (SequentialModel.seq) and Batch
    (BatchModel.seq) process models.  You can find them in the
    <TestStand>\Components\NI\Models\TestStandModels directory. 
    Perhaps you could post the two sequences you are trying to compare if
    you are still running into problems.
    Tyler T.

  • Picking up Random files with ODI

    I have a directory into which an application dumps random files, The file might be randomly named but they have the same format. I need to be able to read the file and check if its the same schema, if so then load it into a common table...
    How do i go about doing this?
    I have created a file schema and manually reverse engineered one file in teh directory and had it as a part fo the interface to load it into my target
    My problem is however when we have might have different file names for the same file, eg:
    FlatFile.dat
    FlatFile 10-12-08.dat
    FlatFile 11-12-08.dat
    How do i pick up all the newly generated files automatically as a part of the ETL process and load?

    That is not a problem too... hehheehhe
    Put a ODI variable at your resource name BUT, in this case you will need to "know" the name to set the variable.
    I usually do that like:
    1) Create a procedure
    2) at first step buid an OS command that generate a file with the name of all files that you need, at windows will be something like:
    cmd.exe /c dir c:/temp/sample_dir /b /a:-d > c:/temp/sample_dir/file_list.txt
    Now you have a fixed named file that contains all file name
    4) Using the Logical Schema to this directory, create a datastore (model table, I will call it, file_of_files! hehehe) what points to the "file of files" with just one column (col_file_name as example)
    5) create a new step at the procedure where, at source tab, File Technology and the correct Logical Schema write:
    select col_file_name from file_of_file
    6) At target tab, using Sunopsis API technology call a package scenario.
    To create this package do:
    6.a) Drag and drop the variable you're using at resource name and set it as "Declare"
    6.b) Drag and drop the interface that use the dynamic file as source.
    6.c) generate the scenario
    the command at target will be something like:
    OdiStartScen "-SCEN_NAME=abc" "-SCEN_VERSION=001" "-LOG_LEVEL=5" "-ODI_VARIABLE_NAME=#col_file_name"
    In this way you can have your source dynamically!!!
    Does it make sense to you? (and help??)

  • Is QuickTime support Mp4 file with Multiple SPS(Sequence Paramter Set) ?

    Hello EveryOne.
    I am in much trouble... plz help me. Thanks
    I have a Mp4 file with Multiple SPS(Sequence Parameter Set) and PPS(Picture Parameter Set.
    When i play into latest QuickTime then only Audio come. Blank White screen come in case of Video..Means no Video..
    i want to ask :
    Is QuickTime support Multiple SPS Mp4 file ?
    Thanks
    Shakti Kapoor
      Windows 2000  

    You didn't answer probably the most important question: whether you're using hardware or software Mercury Playback Engine (MPE). However, since you've set Maximum Render Quality on, it's largely irrelevant.
    When you're using hardware MPE or have the MRQ flag set for your export, rendering is performed with linear color. Linear color processing affects how color channels and alpha channels are composited--anything less than 100% opacity is subject to linear color processing. Check out this article for more information on linear color/linear light: Linear Light - Artbeats
    Since it sounds like you're seeing the results you expect in the Program Monitor, but not export, I'll wager you're not using hardware MPE. Only by disabling the Maximum Render Quality flag on export will you be able to get results that match what you see in the Program Monitor (within reason, of course). The only way you could see the effects of linear color within Premiere would be to either use a qualified GPU that enables hardware MPE, or go into your Sequence Settings and check the "Maximum Render Quality" option and then render previews.
    Please let me know if that helps resolve the issue, or at least provide a little insight into the problem.

  • Imported files are coming with random pixelated bits?

    The original video files (mp4) are fine when I open them in QuickTime, but when I import them to Final Cut Pro X, they come with random bits that become awfully pixelated or messed up (usually 15-20 frames at a time). Here is a screenshot of the damaged import.
    It happens to both the Optimized and Proxy file, though like I said the original is fine when opened in another program. I've had this problem for a while now, so both Final Cut and my computer have been restarted multiple times. What can I possibly do to import the files cleanly?

    I don't think that would help. I just imported another file straight off my computer (a previously rendered video from Final Cut, so this was never a file actually on the camera card). Again, the file looks pristine in QuickTime, but has random spasms of pixelated mess when I import it to Final Cut.
    Could this be a bug in Final Cut itself and I should reinstall or are there other options?

  • Will saving a sequence file with modified variables work on all licensing levels of TestStand?

    I am thinking of enabling editing of test limits for a few steps via an operator interface mechanism of some sort (popup dialog box, etc.).
    If I make an API call to save the sequence file with the modified limits (as opposed to using the property export/import mechanism), will the call succeed if the end-customer has only a deployment license (no debug or dev)?
    For that matter, if I *were* to use the property export mechanism via an API call from the operator interface, would that call succeed regardless of the licensing level on the target machine?
    Thanks in advance...

    The deployment license will not allow you to save sequence files using the API.  It will generate an error.
    Allen P.
    NI

  • Private/tmp file filled with random folders

    Several times in the past few months I have had the Private/tmp file filled with random folders taken off of my HD. I can easily find them with Whatsize but they are always in the Private/tmp file. This, of course brings my startup disc up with the usual warning "Startup disc is full.
    I have looked on console and the only thing that looks suspicious is the following entry:
    Sep 22 12:35:34 <user>-imac com.apple.launchd[1] (org.postfix.master[934]): Stray process with PGID equal to this dead job: PID 935 PPID 1 pickup
    This entry occurs continuously throughout the log.
    I use both Super duper and Time Machine to back up my systems HD and my Docs HD.
    Any help on this. I have used Apples since 1982 and this is a first.
    Thanks

    Thanks Red Menace.
    I am aware of the regular tmp files, but what I am talking about is over 500GB of random files from my hard disk put into the private/tmp folder. It is not the normal machine operation.
    Further investigation indicates it might be Super Duper, but I can not find an exact duplicate of my problem

  • Trying to get the Filetype of a file with a random extension.  i.e., image.1

    Hello all,
    I am dealing with images with the .1 -.6 standard which is used by companies like Gladson imagery.  I am given these files and I need to find out there FileTypes, which I also have heard can be called "MIME" types?  If that is different I let me know please.
    I tried to use the Files API Files (Java Platform SE 7 )
    Specifically probeContentType, but I get "null" for the .1 images, while the .bmp image does give me "image/bmp" as the result.
    I am thinking of reading the file into the program, then just outputting it into a file with a readable extension.
    Or is there a better way to do this?
    Thanks,
    ~KZ

    .1-.6 means nothing, it's a file extension given by Gladson.  Gladson &gt; Our Services &gt; Product Image Database but you seem to ignore this.
    You say it means 'nothing' but your original question says it is a standard:
    I am dealing with images with the .1 -.6 standard which is used by companies like Gladson imagery
    I've never heard of any such '.1 -.6 standard' and can't find ANY reference on the web to any such standard.
    So it is only appropriate to ask you what you are talking about. You didn't explain WHAT standard you are referring to, provide ANY information about that 'standard' or provide any link to documentation about that 'standard' so we can figure out what you are talking about.
    I don't know why a lot of the people on this forum feel the need to tell people their questions aren't good enough, when the question is pretty simple.
    They do that to let you know that you need to provide MORE information or a better explanation of what you are asking.
    Just because you don't know part of the question, doesn't mean the question is invalid.
    Reread my reply and you will see that it doesn't say the question is 'invalid'. It said
    If you want help it is YOUR responsibility to provide the information anyone would need to help you. No one is going to go searching the web to try to find out what a '.1 -.6 standard' might be, assuming there even is such a thing.
    You began your thread by referring to a 'standard' and I can find NO such standard anywhere. So there is no context for your question since it relates to a standard that doesn't appear to exist.
      Especially when the part of the question, in this case the .1 fileExtention doesn't really have much to do with the question, which is why it was an example.
    You are the one that first mentioned a 'standard'. If it doesn't 'have much to do with the question' then you are just confusing the issue by including it as a key part of your thread. If there IS such a standard then, being a standard, it would be documented and that documentation would likely explain the actual binary format of files that are created using that standard. That binary format would have information that could be used to identify the file type.
    For example a PDF file uses a 'standard' file format. The format is documented by Adobe and if you examine a file you might find the first line looks like this:
    %PDF-1.4
    That 'signature' helps to identify the file as using the PDF file format.
    But now you seem to be asking this totally different question:
    Given graphic files with meaningless names and extensions (and thus of unknown type) how does one determine the actual FileTypes (BMP, GIF, etc), which I also have heard can be called "MIME" types?
    Is that the question you are really asking?
    If it is then there IS NO generic way to identify an arbitrary file format since each 'standard' format is different and will have different possible 'signature' characteristics. You would have to have code to test for EVERY possible 'signature'.
    That is why if the standard you referenced actually existed it would help determine what the list of POSSIBLE file types might be. If you know that each file MUST BE a Gladson file type then the first step is to create a list of ALL possible file types that Gladson uses.
    Then you can locate the documentation for each of those file types (e.g. BMP, GIF, etc) to determine how to create a 'parser' to check for those 'signatures'.

Maybe you are looking for

  • How to setup web.xml files in Tomcat 4.0.6

    Hi, I'm to new to Java Servlets. i am trying to run my first servlet but it's not showing up..can anyone help me out please!!! I created a folders like this: webapps/sumitapps/WEB-INF\classes\Forms\login.class under sumitapps: i'm puttin all of my .h

  • I photo cannot open because of problem

    this is the message i get when rying to open i photo on my macbook pro how can this be resolved apple suggests purchasing newest version of iphoto?

  • Ipod touch 4th generation always zooming

    My ipod touch 4th generation is  always zooming ! Help please. many thanks.

  • Lion OS and possible font conflicts

    I wish to upgrade to the new Lion OS, but would like to know if the new OS Lion has the same font conflicts that Snow Leopard had with Helvetica and ITC Garamond Type 1 fonts? Thanks

  • CR2s come into Lightroom with pink & purple color block distortion

    Hopefully I am not posting after someone has already determined an answer, but I did not see one.  Unlike what is happening in this discussion (http://forums.adobe.com/thread/356898), my cr2 is coming up distorted on only one of my computers running