Need help on Pro*C

Hi All,
I am new to Pro*C and I need your kind help on writing output file using Pro*C. Here's the details of the input table:
REC_NO ORD_NO DELIVERY_DATE ITEM_NO QUANTITY SUPP_PACK_SIZE ....
100 1000 10-Jun-2009 A1 100 EA
100 1000 10-Jun-2009 A2 100 EA
100 1000 10-Jun-2009 A3 100 EA
100 1000 10-Jun-2009 A4 100 EA
101 1001 12-Jun-2009 A1 100 EA
101 1001 12-Jun-2009 A2 100 EA
101 1001 12-Jun-2009 A3 100 EA
101 1001 12-Jun-2009 A4 100 EA
Here I have to create an output file (Its a flat file, seperated by '|') like the following:
--Order Details For first set of transactions
H|1000|10-Jun-2009|....|
D|1000|A1|100|EA|...|
D|1000|A2|100|EA|...|
D|1000|A3|100|EA|...|
D|1000|A4|100|EA|...|
T|1000|4(Total No. of Detail Lines)|...|
--Order Details For second set of transactions
H|1001|12-Jun-2009|....|
D|1001|A1|100|EA|...|
D|1001|A2|100|EA|...|
D|1001|A3|100|EA|...|
D|1001|A4|100|EA|...|
T|1001|4(Total No. of Detail Lines)|...|
Therefore, here I need to write one header, one trailer and multiple detail lines for every set of transactions. I am using write_fhead(), write_fdetl(), write_ftail() functions for writing into the output file. Can you provide me the necessary help to writing the details into output files.
Hope to get kind help from your end.
Best Regards
Debabrata

I am using write_fhead(), write_fdetl(), write_ftail() functions for writing into the output file.What is the issue?. Can you post the code you have developed so far?

Similar Messages

  • URGENT-  I need help: Soundtrack Pro Freezing Problem!!

    I just sent my FCP project to a multitrack project in Soundtrack Pro, but when i want to work on the Soundtrack Pro project, everything keeps freezing. its dead slow!
    i can barely do anything with it!
    whats the problem? and how can i solve it?

    Couple of possibilities. One, your media files are huge. STP reference the entire media of a clip edited in FCP . . . not just the edited portion. That can result in some large files being brought over. Also, when you send a clip over, use the base layer option if you can, or export an mp4 to bring in to STP.
    If you're ready to do the post audio work on a finished FCP project, export an omf file. Close FCP, then open the omf file in STP. That can help.
    Other "obvious" but still good to review considerations . . . have enough RAM? Is there enough disk space? Are you using a different media drive than where the system is located?

  • I need help with Pro Tools

    Hello I have Pro Tools m powered 8. I need an apple to do what i need to do.Just a Couple of tracks nothing real heavy. I dont have much money so Im considering a G5 cause I cant really afford a new mac. If I get a g5 which one is the best? I cant get quad..people want as much as a new mac. will a 1.6ghz with some up grades make do for now??? thank you.

    Hey Ted,
    I love my G5 as much as the next guy, but why not simply get a mini? They are great computers, cheap, and would keep you modern in terms of cpu power & efficiency. But I guess that assumes you have no external gear that requires a PCI slot. PCI needed?

  • Need help, MB pro bought after 1.okt

    I bought MB Pro after 1.okt, i bought it in BestBuy Minneapolis, the thing is, my apple store here in Iceland say that i do not apply to this 1.Okt leopold deal because i bought the computer outside of Iceland. I need to know how can I order this so I will get this leopold deal, and who can I talk / email to get this deal.
    And how do I give my info to be able to get this deal ??
    Any1 in the same problem that got any answers ?

    With all the updateing of stuff can you confirm which you changed.
    Lastest  MAC Operating System 10.9.1
    Latest FCP X 10.1
    Al

  • Need help in Pro*c program

    I am trying to create trigger inside a pro*c program using the normal syntax. It's giving error during precompilation.
    I am planning to like this
    Create trigger after update on table for each row
    begin
    read data from the row and write it into file for ftp'ing
    end.
    Please reply at your earliest.
    Thanks in advance.

    exec sql create or replace trigger <name> before update on <tablname> as
    begin
    end;
    I think this will be of use to you.

  • I need help registering "Pro"

    I previously registered and had a working copy of Pro. All of a sudden I noticed that I only can run Player. Here's where it gets a little strange. In system preferences it shows that I have a registered copy of Pro. I checked my Apple store account to see if the registration code was wrong but it's correct for version 7.1.6. Any thoughts on how to fix this?

    You still have "Pro" if the Player app doesn't show the word in menu options.
    Are you trying to edit MPEG files?

  • Need help froma pro

    umm... i have had java for awile and about 1 week ago it just stoped workingon my pc. then i unistalled it and reinstalled it and it worked ofr baout the last week.but abuot 3 housr ago it stoped again na di tryed doing teh un=re thing again nad it didnt work i got a message."error applying transforms,Verify that the specified transfor, paths are valid" ok i got that massage then i went tp java help to fix it and the solution it gave didnt work.can any 1 help?

    ERROR APPLYING TRANSFORMS ........(personal solution)
    try downloading this from microsoft or use this link.......
    http://download.microsoft.com/download/E/9/D/E9D80355-7AB4-45B8-80E8-983A48D5E1BD/msicuu2.exe
    launch the clean up utility then select java to uninstall,.....after it has been uninstalled, install java back.. It should work, i had the same dilemma but all cleared up because of this utility.
    **I hope java or sun's website have this information as part of the solution to the "error applying tranforms" scenario. It does really work.

  • I need help...any pro there?

    I need help, any pro there?

    There are lots of people who can help. What is the problem you need help with?

  • HT1600 I am not able to connect my mac book pro to the airplay mirroring...I need help please

    I have set up everything as supposed to.  I have the Apple TV connected to the same wireless as my Mac Book Pro.  My computer is only a couple months old so it is compatable.  I just bought the Apple TV, and when I go to the display on the menu bar, it does not show the apple tv device detected. I dont know what to do.  I need help

    is airplay enabled on Apple TV? is the device up to date? Is your computer up to date?
    Also see
    http://support.apple.com/kb/TS4215?viewlocale=en_US&locale=en_US

  • Hello, I need help with my macbook pro. It looks like I cannot install anything anymore. Everytime I try to install a new software, use the migration assistant or click the lock to make changes, it simply does not react.

    Hello, I need help with my macbook pro.
    It looks like I cannot install anything anymore. Everytime I try to install a new software, I simply get stuck during the installation type process. I put in my password, it does accept it, but it does not go any further.
    I tried to reset the password, put no password, repair the permissions, the disk but nothing will do. I nearly got stuck with the log in screen but finally succeeded in disabling it.
    So I thought I might try to create a new account but I cannot click the lock to make changes. It simply refuses to react.
    I am now thinking about using the migration assistant to save all my settings, data and so fourth, but again I get stuck when I have to type in my password. It accepts it but nothing happens...
    I guess it has something to do with the authorization process, but can't find anything on the internet about it... Can you help me out?
    I am running Lion 10.7.3.
    Regards,
    Nicolas.
    (I apologize if any grammatical/structural mistakes were to be found, english is not my mother-tongue. )

    You probably won't like this suggestion, but I suggest you reinstall Lion.
    First, backup your system. Next, reboot your system, press/hold the COMMAND-R keys to boot into the Recovery HD. Select 'Reinstall Mac OS X'. If you purchased Lion as an upgrade to Snow Leopard, the reinstall process will install Lion 10.7.3. If your system came preinstalled with Lion, you might still get Lion 10.7.2. Both installs are a total install of the OS. None of your apps or data will be impacted. Just the OS.

  • Need help connecting Audigy 2 ZS Platinum Pro to ATI All-in-wonder 9600XT to get sound from tv tu

    Recently purchased an Audigy 2 ZS?Platinum?Pro sound card. I need help figuring out how to get sound when I us the tv tuner for my?All-In-Wonder?9600XT video card. The audio output on the video card needs an audio input to connect on the sound card, but this sound card?does not appear have one.
    Does anyone know how I can connect the video card to sound card so I get sound when using tv tuner? Where is the micro In line?I have it on the front panel on the external unit!!? But I would don't use this In line for this application!On my old sound card SB Li've! Platinum, I had a line at the rear PCI card (Line In & Micro Line In) and I had two others Line In on the Front Panel, It's the best, but this old card work only with Win 98 or Win 2000.... ? My new system have WinXP Pro!!!!I buy a new SB card (Audigy 2 ZS Platinum pro), but How to get sound fromo the TV tuner and what's the best setup for my micro (for MSN, Skype) ??Help will be greatly appreciated.

    Anybody wants to help me ?I wait your answer for my question...!
    Thanks

  • I need help! i am trying to update iphoto on my macbook pro that i had bought from someone else. although i am signed into my account when trying to update it is asking me for the previous owners account details and it wont let me change it to my details

    i need help! i am trying to update iphoto on my macbook pro that i had bought from someone else. although i am signed into my account when trying to update it is asking me for the previous owners account details and it wont let me change it to my details how can i solve this problem please.
    thank you
    Jan Robinson

    That's because the Mac, OS X and the iLife apps that came preinstalled on the Mac all belong to the previous owner. The previous owner needs to call Apple care and have their Apple ID disassociated from the Mac. Then the hard drive needs to be totally erased and OS X and the iLife apps reinstalled using OS X Recovery.

  • Need help with my iTunes on iPhone 5 and Macbook Pro

    Need help with my iPhone 5 and my Macbook Pro.  I was purchased some music on itunes at my mac. Some reason I deleted those music from both on Mac and iPhone 5.  Today, I went to my iPhone iTunes store inside of iCloud to redownload my puchased. But those song won't able to sync back to my iTunes library on my Mac.  Can anyone help me with that ??....

    You've posted to the iTunes Match forum, which your question does not appear to be related to. You'll get better support responses by posting to either the iTunes for Mac or iTunes for Windows forum. Which ever is more appropriate for your situation.

  • Need help with my iPhone 5 and my Macbook Pro.

    Need help with my iPhone 5 and my Macbook Pro.  I was purchased some music on itunes at my mac. Some reason I deleted those music from both on Mac and iPhone 5.  Today, I went to my iPhone iTunes store inside of iCloud to redownload my puchased. But those song won't able to sync back to my iTunes library on my Mac.  Can anyone help me with that ??....
    iPhone 5, iOS 6.0.1

    You've posted to the iTunes Match forum, which your question does not appear to be related to. You'll get better support responses by posting to either the iTunes for Mac or iTunes for Windows forum. Which ever is more appropriate for your situation.

  • Need help with Installing Canon LBP 2900B on Macbook Pro OSX 10.6.8

    I know this is going to sound silly, but really need help with this, URGENTLY!!!
    Bought a Canon LBP2900B printer more than a year ago, and was using it on my MacBook Pro with OSX Snow Leopard (10.6.8) very well. My hard disk recently crashed and now I cannot reinstall the printer, nor can I find the driver for it anywhere for the Mac.
    Have searched all the forums and followed all discussion threads on the Apple Communities as well, but none of the solutions seem to work. Even went back to @Dexter's solution with trying to download the file from the link http://boolet.free.fr/CAPT.zip (this is what I had done when I bought the printer, and it worked perfectly) but the link doesn't exist anymore.
    Extremely grateful if anyone can put up a solution to this, or alternatively, IF ANYONE HAS THE OLD CAPT.ZIP FILE AND CAN UPLOAD IT.
    Thanks in advance. Look forward to your solutions.
    Cheers

    Depends on how the partitons are arranged. If they're exactly as quoted, then yes.
    Open Disk Utility and select the partition tab.
    In the diagram, the top partition needs to be the one you're booted from, and partition 2 the middle one.
    Select Partiton 2 so that it's highlighted, and click the '-' button below the diagram.
    Drag the bottom right corner of partition 1 down to meet partition 3.

Maybe you are looking for

  • Problems with Windows VISTA and WPA-2

    Hi Guys, I am using a Linksys router supporting draft-N; it seems that after some time of usage; Windows Vista stop being able to connect to Linksys using a WPA-2 PSK. Everytime you search for the SSID and attempt to connect, the ''network is taking

  • Issue with blank lines

    Hi, We are using SAPScript to print some of the documents for Brazil on line printer. While printing, if we are printing only one document, it is printing correctly. But when we print two documents, the second document is starting at some 4 lines bel

  • About extra "Profile" info...

    ...continued from the discussion in the "Spam" thread after John C added the "URL", "Bio" and "Products/SysInfo" fields, here: http://forums.adobe.com/message/1930765#1930765 "Edit Profile should now show places for a URL, a brief (1 line or so) bio,

  • Illustrator update fails

    Windows 7 Ultimate 64 bit, Adobe Design & Web Premium CS6 Adobe Updater returns with this error code after failing to install the Illustrator updates, both the 32 and the 64 bit versions: Adobe Illustrator CS6 Update (version 16.0.3) Installation fai

  • Still can't download single episodes of podcasts

    I can't download single episodes of a podcast if I am subscribed to that podcast. I saw all sorts of threads on the board from February, but the issue seems unresolved, and I have been experiencing it for the last few days. Nothing happens when I hit