Need to write output to a file in pipe ( | )delimited format

Hi All,
I am trying to extract values from a database and write them to a text file with pipe( | ) delimited format. Can someone guide me on this with an example. I ma very much new to Java.
Thanks for help,
Abhi

abhibora wrote:
Hi All,
I am trying to extract values from a database and write them to a text file with pipe( | ) delimited format. Can someone guide me on this with an example. I ma very much new to Java.
Thanks for help,
AbhiSimply print your values separated by the '|' pipe symbol; I don't see the problem.
kind regards,
Jos

Similar Messages

  • Write output to binary file in C/C++?

    How can I write output to a file in binary format instead of ascii?
    Or... if I am using a buffer.. to write a buffer to binary format instead of ascii?
    I am writing a lot of data to a text file and I would like to reduce the size by writing it all into a binary file instead of ascii?
    Last edited by kdar (2012-12-13 14:36:41)

    Basic I/O?
    char buffer[100];
    // C++ style
    ofstream file;
    file.open ("data.bin", ios::out | ios::binary);
    file.write(buffer, sizeof buffer);
    /* C style */
    FILE* file2 = fopen("data2.bin", "wb");
    fwrite(buffer, sizeof buffer, 1, file2);
    A lot of people prefer the old C style functions for binary i/o even in C++ (and iostream for formatted i/o). Writing and readong more complex structures requires some castin, in C++ usually done with reinterpret_cast<char*>(someStructure).

  • Convert ALV output to PDF file , DXF and DWG format

    hi,
        How to convert a ALV report to PDF file, DXF and DWG format, I developed a ALV report which has to be converted as per the selections of above formats,
    Reward points for good & with example answers
    Thanks in advance
    RK

    Hello RK,
       Check this link. It has an example code for PDF Conversion.
    http://www.erpgenie.com/abap/code/abap51.htm
    Regards,
    Deepu.k

  • ODI -- PIPE Delimited file loadig

    We are introducing ODI tool for the first time.
    We have successfully imported fixed format UNIX file into ODI and loaded data.
    We have second set of files in PIPE Delimited format, when we are trying to reverse engineer and import them as Delimited file, we are getting error message.
    If someone can share their thoughts and experience it is well appreciated.

    How do I post screen shots --that will explain clearly                                                                                                                                                                                                           

  • How to write '\n' in text file instead of newline

    Hello Everyone,
    I am trying to write 'C:\DOCUME~1\nXXX\LOCALS~1\Temp' in a bat file using client_text_io but *'\n'* in the path is taken as a new line character and the path is broken into two lines and written to the file. Hence my bat file doesnt work. I would need to write '\n' in the file as there are many reports which has '\n' in the output. Please provide a solution for writing '\n' in the file without getting it converted to a new line.
    DECLARE
         out_file client_text_io.file_type;
    BEGIN
    :GLOBAL.TEMPDRIVE :=client_win_api_environment.get_environment_string('TEMP'); --output is 'C:\DOCUME~1\nXXX\LOCALS~1\Temp'
    out_file := client_Text_IO.fopen(:GLOBAL.TEMPDRIVE||'\chkdirz.bat', 'w');
    client_Text_IO.PutF(out_file,'chdir '||:GLOBAL.TEMPDRIVE||'\ \n');
    client_Text_IO.PutF(out_file,'if EXIST '||:GLOBAL.TEMPDRIVE||'\EXFOL\ null goto batend \n');
    client_Text_IO.PutF(out_file,'mkdir '||:GLOBAL.TEMPDRIVE||'\EXFOL \n');
    client_Text_IO.PutF(out_file,':batend \n');
    client_Text_IO.fclose(out_file);
    synchronize;
    CLIENT_host('cmd.exe /c '||:GLOBAL.TEMPDRIVE||'\chkdirz.bat',NO_SCREEN);
    END;

    christian erlinger wrote:
    When you want to print out an escape character in java (java is doing the work in client_text_io ), you'd need to escape it.
    client_text_io.put_line(out_file, replace('your_path', '\','\\'));cheersI tried replacing \ with double slash but it just printed double slash in the bat file. again the path was broken into two lines.
    file output
    chdir C:\\DOCUME~1\
    195969\\LOCALS~1\\Temp\
    Edited by: rivas on Mar 21, 2011 6:03 AM

  • How to write a CLOB to file using UTF-8

    I'm new to java and I have the following problem.
    I need to write a CLOB to file using the UTF-8 characterset (I'm generating an xml file). My database characterset is WE8ISO8859P15.
    I've tried the code below but the resulting output fails validation in an xml editor due to an 'invalid character' error :
    create or replace
    and compile
    java source named "ClobUtil"
    as
    import java.io.*;
    import java.lang.*;
    import java.sql.*;
    import java.util.*;
    import oracle.jdbc.driver.*;
    import oracle.sql.*;
    public class ClobUtil {
    public static void save(CLOB clob, String filename) throws Exception
    Connection conn = DriverManager.getConnection("jdbc:oracle:kprb:");
    conn.setAutoCommit(false);
    InputStream is = clob.getCharacterStream();
    FileOutputStream os = new FileOutputStream(filename);
    int size = clob.getChunkSize();
    byte buffer[] = new byte[size];
    int length;
    while ((length = is.read(buffer, 0, size)) != -1) {
    os.write(buffer, 0, length);
    is.close();
    os.close();
    conn.close();
    I see that the getCharacterStream() method returns a Unicode character stream but how do I output this to file ??
    Thanks in advance

    File file = new File( "myfile.utf8" );
    FileOutputStream fos = new FileOutputStream( file );
    OutputStreamWriter osw = new
    OutputStreamWriter( fos, "UTF8" );
    Writer w = new BufferedWriter( osw );
    PrintWriter out = new PrintWriter( w );
    Or whatever you need. Note that this merely allows you to specify the encoding to be used in the output file, it does convert the encoding for you. I think in your case this will work since you already know the output stream will not contain the full range of UTF8 characters anyway.

  • String formatting with Write-Output

    I have a FileInfo object that I want to print the full file name member value.
    I tried this:
    Write-Output "Scanning $file.FullName..."   
    However that just prints out:
    "Scanning c:\foo.txt.FullName..."
    What is the proper way to format the FileInfo.FullName using Write-Output (In C#, I would use String.Format)?
    thanks

    Wrap $file.FullName in $(), such as $($file.FullName). Read more by searching for the subexpression operator.

  • How to write newline character to file using bytes along with content

    Hi All,
    I need to write headers into the file using byte[]. I am creating the strings of header which will form the different rows in the file. I am new to java and would like to know how to embed new line character so that when the byte[] is written to file headers come in different rows.
    like
    hrd1:abcd
    hdr2:1234
    when i embed \n and \r in string and do getBytes() and write it to file, some boxes are written in the file and everything comes into single line.
    Please advice me the correct way .
    Thanks in advance.
    Cheers!!
    Puneet

    not sure about it, but i was always told that "\r\n" meant "new line" on "lots of documents" whereas "\n" only or "\r" only were meaningless on some type of documents

  • READ THE PIPE DELIMITER FILE

    Hi guys,
    I am uploading the data from a file which is in the application server and in pipe delimiter format.
    This file in the format like .... let us take 100 records among those one record is header,  98 data records and one trailer record. These are seperated by the record locater like header with 0, data record with 1 and trailer with 9.
    So what i am doing is uploading that file first of all into one internal table I_ARFILE, then splitting the data at pipe into 3 different internal tables. In the mean time I am doing the validations also for the number of records...
    like there should not be more than one header, and one trailer........
    here I am pasting my code.....
      IF l_subrc = 0.
        LOOP AT I_ARFILE.
        READ TABLE I_ARFILE INTO WA_ARFILE.
          SPLIT WA_ARFILE AT C_PIPE INTO WA_ARHEADER-P_RECTYPE
                                        WA_ARHEADER-P_PRCID
                                        WA_ARHEADER-P_SENDR
                                        WA_ARHEADER-P_CDATE
                                        WA_ARHEADER-P_CTIME
                                        WA_ARHEADER-P_OBTYP
                                        WA_ARHEADER-P_SEQNO
                                        WA_ARHEADER-P_FRTXT.
          IF WA_ARHEADER-P_RECTYPE = 0.
            APPEND WA_ARHEADER TO I_ARHEADER.
            DESCRIBE TABLE I_ARHEADER LINES V_ITABLINES.
    VALIDATION FOR NUMBER OF HEADER RECORDS
            IF V_ITABLINES <> 1.
              MESSAGE 'NUMBER OF LINES READ ARE NOT SAME' TYPE 'E'.
              LEAVE PROGRAM.
            ENDIF.
            CLEAR V_ITABLINES.
          ELSE.
            SPLIT I_ARFILE AT C_PIPE
                                 INTO WA_ARITEM-P_RECTYPE
                                      WA_ARITEM-p_xblnr
                                      WA_ARITEM-p_bldat
                                      WA_ARITEM-p_budat
                                      WA_ARITEM-p_blart
                                      WA_ARITEM-p_awkey
                                      WA_ARITEM-p_kunnr
                                      WA_ARITEM-p_xref1
                                      WA_ARITEM-p_xref2
                                      WA_ARITEM-p_xref3
                                      WA_ARITEM-p_wrbtr
                                      WA_ARITEM-p_zterm
                                      WA_ARITEM-p_zuonr
                                      WA_ARITEM-p_rstgr
                                      WA_ARITEM-p_wskto
                                      WA_ARITEM-p_sgtxt.
            IF WA_ARITEM-P_RECTYPE = 1.
              APPEND WA_ARITEM TO I_ARITEM.
        ENDIF.
    VALIDAITON FOR THE NUMBER OF DATA RECORDS.
              DESCRIBE TABLE I_ARITEM LINES V_ITABLINES.
              DESCRIBE TABLE I_ARFILE LINES V_ITABLINES1.
              V_ITABLINES1 = V_ITABLINES1 - 2.
              IF V_ITABLINES1 <> V_ITABLINES.
                MESSAGE 'NUMBER OF LINES READ ARE NOT SAME' TYPE 'E'.
                LEAVE PROGRAM.
              ENDIF.
            LOOP AT I_ARITEM.
            V_BAL1 = V_BAL1 + I_ARITEM-P_WRBTR.
            V_DIS = V_DIS + I_ARITEM-P_WSKTO.
            ENDLOOP.
    CHECKING THE SUM OF THE BALANCE AMOUNT OF ALL THE RECORDS AND BALANCE AMOUNT IN TRAILER RECORD
            IF V_BAL1 <> WA_ARTRAILER-TOBAL.
               MESSAGE 'TOTAL AMOUNT IS NOT EQUAL TO THE SUM OF ALL THE AMOUNTS' TYPE 'E'.
            ELSE.
    CHECKING THE SUM OF THE DISCOUNT AMOUNT OF ALL THE RECORDS AND BALANCE AMOUNT IN TRAILER RECORD
            IF V_DIS <> WA_ARTRAILER-TODIS.
               MESSAGE 'TOTAL DISCOUNT AMOUNT IS NOT EQUAL TO THE SUM OF ALL THE DISCOUNT AMOUNTS' TYPE 'E'.
            ENDIF.
            CLEAR V_BAL1.
           APPEND WA_ARITEM TO  I_ARITEM.
              CLEAR WA_ARITEM.
           CLEAR WA_ARFILE.
              CLEAR V_ITABLINES.
              CLEAR V_ITABLINES1.
         ENDIF.
       ENDLOOP.
      ENDLOOP.
    ENDIF.
            ELSE.
    READ TABLE I_ARFILE INTO WA_ARFILE INDEX V_ITABLINES.
              SPLIT WA_ARFILE AT C_PIPE INTO WA_ARTRAILER-P_RECTYPE
                                               WA_ARTRAILER-COUNT
                                               WA_ARTRAILER-TOBAL
                                               WA_ARTRAILER-TODIS.
              IF WA_ARTRAILER-P_RECTYPE = 9.
                APPEND WA_ARTRAILER TO I_ARTRAILER.
              ENDIF.
              DESCRIBE TABLE I_ARTRAILER LINES V_ITABLINES.
              IF V_ITABLINES <> 1.
                MESSAGE 'NUMBER OF LINES READ ARE NOT SAME' TYPE 'E'.
                LEAVE PROGRAM.
              ENDIF.
       CLEAR WA_ARFILE.
              CLEAR V_ITABLINES.
            ENDIF.
    *CLEAR WA_ARFILE.
            CLEAR V_ITABLINES.
            CLEAR V_ITABLINES1.
          ENDIF.
        ENDLOOP.
    In this code something wrong like....
    I have to modify this code so that i can split the file based on the record indicator to different internal tables.
    if you see my code I am going wrong after i split the data into header internal table... did the validations then I put the else condition and split the same record again into 2nd internal table. But I have to take the second record once the first one is filled..........
    Can any one guide me how to do that plz...... I am bit confused with this
    SRI

    Hi,
    Please check , first you need to split the file and move header, item, trailer , then using these internal tables do your validations
    DESCRIBE TABLE I_ARFILE LINES V_LIN
    READ TABLE I_ARFILE INTO WA_ARFILE INDEX 1.
    IF SY-SUBRC EQ 0.
    SPLIT WA_ARFILE AT C_PIPE INTO WA_ARHEADER-P_RECTYPE
    WA_ARHEADER-P_PRCID
    WA_ARHEADER-P_SENDR
    WA_ARHEADER-P_CDATE
    WA_ARHEADER-P_CTIME
    WA_ARHEADER-P_OBTYP
    WA_ARHEADER-P_SEQNO
    WA_ARHEADER-P_FRTXT.
    APPEND WA_ARHEADER TO I_HEADER.
    ENDIF.
    READ TABLE I_ARFILE INTO WA_ARFILE INDEX v_LIN.
    IF SY-SUBRC EQ 0.
    SPLIT WA_ARFILE AT C_PIPE INTO WA_ARTRAILER-P_RECTYPE
    WA_ARTRAILER-COUNT
    WA_ARTRAILER-TOBAL
    WA_ARTRAILER-TODIS.
    APPEND WA_ARTRAILER TO I_TRAILER.
    ENDIF.
    * FIRST DELETE TRAILER THEN GO FOR HEADER
    READ TABLE I_ARFILE INTO WA_ARFILE INDEX V_LIN.
    DELETE I_ARFILE INDEX SY-TABIX
    READ TABLE I_ARFILE INTO WA_ARFILE INDEX 1.
    DELETE I_ARFILE INDEX SY-TABIX.
    LOOP AT I_ARFILE INTO WA_ARFILE.
    SPLIT I_ARFILE AT C_PIPE
    INTO WA_ARITEM-P_RECTYPE
    WA_ARITEM-p_xblnr
    WA_ARITEM-p_bldat
    WA_ARITEM-p_budat
    WA_ARITEM-p_blart
    WA_ARITEM-p_awkey
    WA_ARITEM-p_kunnr
    WA_ARITEM-p_xref1
    WA_ARITEM-p_xref2
    WA_ARITEM-p_xref3
    WA_ARITEM-p_wrbtr
    WA_ARITEM-p_zterm
    WA_ARITEM-p_zuonr
    WA_ARITEM-p_rstgr
    WA_ARITEM-p_wskto
    WA_ARITEM-p_sgtxt.
    APPEND WA_ARITEM TO I_ITEM.
    ENDLOOP.
    aRs

  • Translating Microsoft Works 4.5 Database Files to Appleworks 6 format

    Hi,
    Having recently moved to Mac from Windows I am trying to transfer files from my old machine to my Mac mini. As I have thousands of files in Window format that I hope to use on my Mac I spent the money to purchase a copy of MacLinkPlus V. 15.
    Happily when I attempted to translate word processing files created in Word 97 to Appleworks 6.2.9 all went well. But when I attempted to translate database files created in Microsoft Works 4.5 I ran into trouble!
    To whit, after "adding" the MS Works database file to MacLink Plus I click on translate but when the translation settings window open there is no AppleWorks 6 database file format to select. I tried selecting AppleWorks 2.1, 3.0 but after the translation is done there is just a bunch of disorganized text in the destination file.
    Given that the program claims to support MS Works 4.5 I was at a loss as to why this was happening so I contacted the MacLinkPlus help desk to find out what I should do. Initially they said that MacLinkPlus does not support Microsoft Works 4.5 file translation. But when I checked the link they supplied to supported formats Microsoft Works 4.5 database files were clearly shown as being fully supported.
    When I pointed this out to them they next asked if I was sure I had Appleworks on my computer..... What can one say to a question like that, especially when it is asked in broken English?
    Does anyone out there have any idea what is going on here? Is there a way to get MacLinkPlus to do what the company says it will do, i.e. translate my Microsoft Works database files to Appleworks 6 format? If not, what would folks suggest as a work around method of getting these database files into the Appleworks 6 database?
    Thanks,
    Winston
    PS For anyone interested in the quality of support at MacLinkPlus I offer the following message I recieved from their Help Desk:
    "MacLinkPlus only support AppleWorks 6 for word processing or spreadsheet files. Because you are dealing with a database file you are only able to choose from those formats. To see the full list of file formats that MacLinkPlus supports, please view this page:"
    http://www.dataviz.com/products/maclinkplus/mlp_xlators.html
    Note: When I clicked on the above link this is what I found:
    DOS and Windows Database Formats
    ClarisWorks 1.0, 3.x, 4.0
    Comma Separated Values (Write only)
    dBase (DBF) II, III, IV
    FoxBASE/FoxPro
    MS Works for Windows 2.0, 3.0, 4.5, 95
    Tab Text (Write only)
    WordPerfect Works 2.0

    Thanks for the tips I guess that I will try to export the database files in tab delimited format and paste them into a database that I create in Appleworks 6. I can't say that I am looking forward to this, but it would appear I have no choice.
    At this point in time I would have to say that my foray into the Mac World has been a most unpleasant experience. In truth when you add this difficulty to the many others I've had with my Mac I have had more computer problems in the past 3 months than in the prior 8 years with Windows.
    By the way, I heard back from MacLinkPlus today and they had this to say:
    Hi Winston,
    The reason you don't have AppleWorks 6 listed as an option in MacLinkPlus, is because when it comes to Databases, MaclinkPlus only supports these formats:
    AppleWorks 5.0
    AppleWorks 6.0 (Read Only)
    ClarisWorks 1.0, 2.x, 3.0, 4.0, 5.0
    Excel 2.0, 3.0, 4.0, 5.0, 98, 2001, X, 2004
    MS Works 2.0, 3.0, 4.0
    SYLK (Read Only)
    AppleWorks (Apple II) 2.1, 3.0
    So, it is not going to give you AppleWorks 6 as an option because when Dealing with Database files, AppleWorks 6 isnot supported.
    So what you can do, is choose either AppleWorks 2 or 3, convert the file.
    Then try to use AppleWorks 6 to open it with.
    AppleWorks 6 may not recognize such an old file though.
    Here is my reply:
    Dear Annya,
    I must admit that I am still confused regarding all this. In your most recent e-mail you say that MacLinkPlus does not recognise Microsoft Works 4.5 database files but on your website it says that it does.
    I tried your work around and Appleworks 6 refused to open the database file translated into Appleworks 2, 3 so it would now appear that I am not going to be able to use MacLinkPlus to translate the files.
    While your offer for a refund on the MacLinkPlus was appreciated, I am out a great deal more than the purchase price of MacLinkPlus because of this. Simply put I would never have purchased my Mac mini computer in the first place if my visit to your website had not left me confident that your software would allow me access to my old database files.
    To say that I am dissappointed would be quite an understatement and I certainly hope that your company rewrites the material on its own website in an effort to make clear that MacLinkPlus can not translate Microsoft Works database files.
    In the mean time, know anybody looking for an almost brand new MacIntosh computer?
    With regrets,
    Winston

  • Need example with write to DATA log file programmatically?

    Hi all,
    I would like to request for an example of writing a datalog (*.DAT) file which could do this.
    Datalog file.
    NAME: AGE: SEX: (header)
    john 16 M (data)
    marie 55 F
    Dolah 34 M
    The program can also let me to add in new data and then store in the same file.dat. The data (hopefully) can be written to the bottom of the last saved entry of data. (eg. after the row Dolah).
    I need to do this so that I can open and read back the datalog file and use the data for other purpose.
    Please help,
    juni

    You've got some examples in Fundamentals>File Input and Output but one of the easiest things to do is to modify Write Strings to Spreadsheet File.vi to write strings as detailed at the bottom of the diagram and then save it to a different place and with a different name.
    Attachments:
    Spreadsheet_File_Write.jpg ‏17 KB

  • Create and write form output to text file

    HI am pretty new to this and have a prob.
    I have 10 fields in my form submitting which i need to create and write the form field values into an xml fil..this file is further used for other read write transactions.
    Can somebody help creating and writing data into the text file with code (if u have it handy).
    Thanks for the help in anticipation

    File f = new File("/path/to/output.txt");
    BufferedWriter bw = new BufferedWriter(new FileWriter(f));
    String inputData = null;
    while(true){
      inputData = //whatever data you need
      bw.write(inputData);
    bw.flush();
    bw.close();
    f.close;
    // All this should be in a try{}catch(IOException ioe){}

  • Java.io.File and output.write to newly created file

    I'm using output.write(""); in conjunction with java.io.File to create a file with field data from a form submit. The file gets created and includes anything I add between the quotes rather then searching for it's value. My question is what is the syntax for putting <%= request.getParameters("") %> in the output.write brackets. I've been unsuccessful thus far so it must be my syntax.
    This works:
    try {
    File outputFile = new File("/tmp/filename");
    outputFile.createNewFile();
    FileWriter output = new FileWriter(outputFile);
    output.write("text in the file");
    output.close();
    } catch (IOException e) {
    System.out.println("Caught IOException: " + e.getMessage());
    // or.....
    System.err.println("Caught IOException: " + e.getMessage());
    %>
    I need to include the below and have the file represent <HTML> for redisplay.
    <html>
    <title><%= request.getParameter("car") %>, <%= request.getParameter("color") %></title>
    <font color=blue>Car Model: </font> <%= request.getParameter("carMod") %><br><br>
    <font color=blue>Car Color: </font> <%= request.getParameter("carColor") %><br><br>
    Can I wrap this somehow or do I need to define the field data another way?
    tks

    1)Do you want "<%= request.getParameter("car") %>" written exactly as that to the file, or 2)do you want to get the value of request.getParameter("car") and write it to the output?
    If 1):
    output.write("<title><%= request.getParameter(\"car\") %>,"+
            " <%= request.getParameter(\"color\") %></title>");else if 2):
    output.write("<title>"+ request.getParameter("car") +", "+
            request.getParameter("color")+"</title>");

  • Need to write a progrm to upload flate file  in my z table

    Hi all ,
            I    need to write a progrm to upload flate file from presentation or application server  in my z table.Please guide me to do so.
    Regards,
    Ranu

    You have sent this via Abuse Report:
    Please close my thread , so I can post new. I'll search before asking and wont ask small questions again.
    Considering that you have agreed to stick to the Rules, I'm closing this question so that you can open one new question. Based on how you carry on from here, I'll decide what to do next. If you behave, I'll close your other questions, but if you break the Rules even once, your id will be deleted.

  • Help needed to write control file.

    Hi Guys,
    i need to write one control file to upload data from .txt file to oracle table.
    .txt file data contains like this
    2006041110:40:22
    2006041111:30:42
    2006041210:40:22
    i need to upload this data into date column in oracle table.
    please help me to write control file for this requirement.
    Thanks for your help and time

        data1        "to_date(:data1, 'YYYYMMDDHH24:MI:SS')"

Maybe you are looking for

  • Problem with PremiereProCS5 and AfterEffectsCS5 Dinamic Link!

    Problem with PremiereProCS5 and AfterEffectsCS5 Dinamic Link! I installed PremiereProCS4, and after, "Adobe Master Collection Suite CS5" in Italian Language, with PremiereProCS5 and AfterEffectsCS5 on OS Windows7x64Bit. I made a first composition wit

  • Can't uninstall or install itunes.

    Help!! When I try to install the new version of itunes it tells me I need to delete the old verson first. When I try to uninstall it I get the error message The feature you are trying to use in on a network resource that is unavailable. Click OK to t

  • Data Transfer from PLM to SAP R/3

    Dear All,              Any one pls explain me how to transfer Data from PLM to R/3.           I transferred data like Part number,its components,ECN and Revision level from PLM to R/3 Ztable.From there I want to Update / Change BOM wref to ECN and Re

  • EXPORT catexp.sql 9.2.0.4.0

    Hi I would like to install catexp.sql with SYS user as SYSDBA. It was succesfully but when I tried to run "exp" I got the following errors: (Export option was OWNER=wps, GRANTS=y, ROWS=y, COMPRESS=y The database run on SUN SERVER. :>showrev Hostname:

  • Nexus 1000v Eval Licence File for ASA1000v

    Hi Guys, We have installed N1K working no problem and now installed ASA1000v with VNMC using ASADM mode. The device is registred to VNMC and Security profiles set, access rules set against with NAT. Port profiles created on the N1K with the VNMC path