Forum Replies Created

Viewing 15 posts - 586 through 600 (of 686 total)

  • Reply To: parse files in folder

    Character #83 = Repetition Element Separator   ===>  U

    Character #105 = Composite Element Separator      ===>   >

    Character #106 = Segment Separator (we need this one)   ====> {

    Character #4 = Data...

  • Reply To: parse files in folder

    When they first sent me a record layout it was individual records or that's what they sent. Not until I opened one of the files did I notice it was...

  • Reply To: parse files in folder

    param (
    [parameter(mandatory = $true, ValueFromPipelineByPropertyName = $true)][string]$hdr,
    [parameter(mandatory = $true, ValueFromPipelineByPropertyName = $true)][string]$date,
    [parameter(mandatory = $true, ValueFromPipelineByPropertyName = $true)][string]$recordtype
    )

    # Get list of files
    $fileList = Get-ChildItem -Path c:\ftp_in | Where-Object...
  • Reply To: parse files in folder

    I was thinking of using bat or cmd because to use posh file the user who is requesting the lookup from script would have to how to launch the script...

  • Reply To: parse files in folder

    The Move\Copy file is going to be used as research for customer related issues. I would like to wrap the script in a .cmd

    or bat file. That's where I was...

  • Reply To: parse files in folder

    The above lookups are in the 1st record in file using criteria above. I need some help ...

    THanks.

  • Reply To: parse files in folder

    SO there is a default format for inbound files

    Position 36 of the record contains 1st parm and has a length of 15

    Position 71 of record contains 2nd parm and in...

  • Reply To: parse files in folder

    thanks you are correct EDI related files... I'm trying to have a search script to find files in folders based upon the parms passed...

    I'll give it a go with the...

  • Reply To: parse files in folder

    I found more info on the file, for an Inbound record it will have this format, so maybe the delimiter is *

    I highlited  the 1st and 2nd parm lookups   ...

  • Reply To: parse files in folder

    My data is just text and the date format yymmdd(210310 sample) I don't have any delimiters in the file to be able to deliniate

    data records other than the ear marks...

  • Reply To: pivot on 2 fields

    Cool Thanks again!!!!

  • Reply To: pivot on 2 fields

    Data:

    src,200,2021,01,01,400.00

    xrb,200,2021,01,01,500.00

    src,300,2021,02,01,400.00

    xrb,300,2021,02,01,500.00

     

    I would like to rollup the data at a monthly level by year entity and channel. If no data reported for the month than 0 displayed

    Jan         ...

  • Reply To: pivot on 2 fields

    I want to show current year and previous.. do you have any examples based upon my current query?

    Thanks again...

    • This reply was modified 4 years, 7 months ago by Bruin.
  • Reply To: pivot on 2 fields

    I would like to be able to run this for a given Year, is that possible using crosstabs?

    Thanks again

  • Reply To: pivot on 2 fields

    I was trying to get the days so they would be dynamic rather than having to hard those each month.. I also wanted

    the channel to be sub-category of the entity..

     

    Thanks.

Viewing 15 posts - 586 through 600 (of 686 total)