Batch conversion to replace the anamorphic flag in DV Stream
I have a bunch of .dv files form my video camera but, unfortunately, when migrating them from iMovie '06 to iMovie '08 (and switching to a brand new iMac in between) some of them have lost the anamorphic flag. This means that when I try and import them to iMovie, they appear as anamorphically squashed 4:3 instead of 16:9.
I can open them in Final Cut Express and set the anamorphic flag there, but this only applies to FCE, the files themselves are unmodified. I want to be able to publish my movies to .Mac Gallery, so FCE is pretty much useless for this purpose.
I found that FCE will let me convert the file to a DV Stream with aspect ratio 16:9, which effectively fixes the files, but FCE won't let me select more than one DV file at a time in the browser for this. Going through all 500 DV files this way will be extremely tedious.
So: is there another way I batch convert files in Quicktime, or with any other (ideally free) program?
I already tried "Quicktime Quick Batch", but this just throws dozens of Applescript errors under Leopard.
So: is there another way I batch convert files in Quicktime, or with any other (ideally free) program?
QT pro does not have a sequential "batch" option per se. It will, however, allow you to convert several files in parallel if you want. I.e., as soon as one conversion begins, you can start another, and another, etc. Another alternative would be to use the MPEG Streamclip (free) application. It will also re-set your anamorphic using the "Export to DV" option. It has a built-in batch list window which will allow you to add a number of files for sequential processing while you are occupied in other activities.
Similar Messages
-
How do I take a pdf flyer after conversion and replace the text?
I downloaded the acrobat program that will convert a pdf file into a Word document. Now that I am there how do I replace text on this flyer to my own?
Once you have converted the original PDF file into a Word document, you'll need to open the document in Microsoft Word to do the editing.
-
Lightroom 2.1 & PSE 5 / batch conversion greyed out
Hi,
I'm running Windows XP Prof and have licensed LR2 and installed RC 2.1 on top of it. In PSE 5 the batch conversion entry in the file menu is now greyed out and even a de-/install of PSE 5 didn't help.
I searched in LR & PSE forum and couldn't find any entry describing the same issue. Now I wonder whether this is really unique to my installation.
Anybody out there who noticed the same and maybe have a recommendation how to fix it?
Regards, HaJoHave you updated PSE5 to the latest camera raw available for that app - 4.6?
-
This is a continuing enquiry from my previous question regarding issues with outputting anamorphic footage to a DV device.
In the past Final Cut has correctly added the anamorphic flag to the output stream, which is then identified by the DV device so it can display the content correctly without squashing it on a non 16:9 monitor.
But now it is a different story, it's been a while since I did an anamorphic project in Final Cut and now it's not playing ball.
I gave up trying to display my sequence correctly, and just edited on my computer display, but now that I'm trying to edit to tape, I'm having loads of problems.
Doesn't seem to matter what settings I use on a sequence, or in the edit to tape window, Final Cut is not adding the anamorphic flag to the output. I understand that my DV recording is essentially the same, but it would be nice if the anamorphic flag was there. As it will not be possible to play the footage correctly from any DV device to a monitor. Unless the monitor supports 16:9.
I've even tried exporting my sequence as an anamorphic DV QT file, sticking that file in an anamorphic sequence and setting edit to tape to DV PAL anamorphic, but it still outputs squashed 4:3, without the anamorphic flag.
I've noted a few other people having similar problems in the forums, but noone has offered any solid advice. Anyone else experienced something similar or knows a solution?
PowerMac G4 MDD Mac OS X (10.4.9)I should also note that this is Final Cut 5.1.4 and Quicktime 7.1.6
-
MP4 - anamorph flag and multiple audio tracks
So far Quicktime simply ignores the anamorph flag in mp4 video files, making it impossible to backup dvds and converting them for appletv without a very significant loss in resolution and quality. Will there be an update for this issue soon or is it simply not wanted to allow best possible backups? I know the workarround with the quicktime reference movie, but why not implement the mp4 specs correctly and make it all easier for us?
What about MP4 videos with multiple audio tracks. I'd like to keep english and german audio tracks of my DVDs when converting to appletv. As far as i know appletv doesn't allow a selection of the audio track. Workarround with Quicktime Reference Movie works here es well, saving two Reference Movies with only one audio track enabled, but why not make it easy for us consumers and allow audio track selection on appletv. Will there be an Update?
Hope to get some answers.modelone,
Thanks for your post. I have been experiencing the same problem of not being able to pass-through export an MP4 file that was encoded with CE-Quicktime profile.
Your post helped me to discover a workaround that will allow you to set the proper width of an MP4 file that is encoded with CE-Quicktime profile. This method does not require Quicktime Pro, and the corrected file plays properly in Quicktime and Apple TV.
First, encode the MP4 file using CE-Quicktime profile. Then, open Dumpster and drag the MP4 file into it. Navigate to 'moov', then 'trak', then 'tkhd', then select 'Matrix [a b u]'. There are 3 hexadecimal values for this key. The first number is the transformation matrix that Quicktime and Apple TV uses to determine the correct display aspect. This is the value that is multiplied to the encoded horizontal resolution to derive the horizontal display resolution. For e.g. if the encoded resolution is 720 x 576 and you want it to play back in 1024 x 576, the matrix value is 1024/720 = 1.4222. Change that first number to this correct hexadecimal fractional value and click 'Apply'.
The patched MP4 file will now play back in correct aspect ratio in Quicktime and Apple TV.
Hope this helps! -
QT movie batch conversion in iPhoto library
hello everyone,
i would like to ask for some suggestions on the following scenario: our iPhoto lib has grown rather big after 2 years of using a 720p HD camera. upon evaluating size to quality it appears that one can live with a smaller size movie format, such as the AppleTV 960x540 m4v, which plays better on laptops and lesser machines and also fits well with iMovie presets - in all, quite an acceptable compromise, but most consumer HD cameras have either 1080p or 720p shooting modes. as said, for home use, one can implement the 960x540 standard without much loss of quality for better use flexibility, especially if you employ a Mac Mini to a HD TV as we do, but the clips have to be re-saved.
so here is the question - how to convert multiple movie entries in the iPhoto library to Atv format, without loosing metadata, such as date and time? QT obviously puts the current data/time on the new m4v file. i did try several things with limited success - Automator can do this batch conversion (but no custom one, this is how i got to the Atv format in the first place); once you select the movies in an iPhoto event, go 'show in finder' - they appear highlighted in the Finder window. chances are they will be in in the same folder, A converts them to desktop or any given location, then you re-import the files to iPhoto, compare the date and time to the original, hit the 'batch change', adjust date/time and delete old files.... but a bit time consuming altogether.
would there be any Automator workflow or AppleScript to ease the task in larger batches, since one can filter all movies in a smart album? or anything else for that matter? tnx in advance!Bruce:
Do you still have an untouched copy of your V2 library folder? If so, copy it to your Pictures library replacing the one you've tried to updated. Then download and run BatChmod on the iPhoto Library folder with the settings shown here, putting your administrator login name, long or short, in the owner and group sections. You can either type in the path to the folder or just drag the folder into that field.
Now launch iPhoto and see if the upgrade will go thru successfully.
Also you might try rebuilding the V2 library with iPhoto 2 before copying to the Pictures folder.
If you don't have copy of the library folder then run BatChmod as mentioned before and launch iPhoto.
Do you Twango?
TIP: For insurance against the iPhoto database corruption that many users have experienced I recommend making a backup copy of the Library6.iPhoto database file and keep it current. If problems crop up where iPhoto suddenly can't see any photos or thinks there are no photos in the library, replacing the working Library6.iPhoto file with the backup will often get the library back. By keeping it current I mean backup after each import and/or any serious editing or work on books, slideshows, calendars, cards, etc. That insures that if a problem pops up and you do need to replace the database file, you'll retain all those efforts. It doesn't take long to make the backup and it's good insurance.
I've written an Automator workflow application (requires Tiger), iPhoto dB File Backup, that will copy the selected Library6.iPhoto file from your iPhoto Library folder to the Pictures folder, replacing any previous version of it. You can download it at Toad's Cellar. Be sure to read the Read Me pdf file. -
Losing Anamorphic flag (bug?) in FCP5
Hi all,
Working on a FCP5 set, I have a small problem (bug?).
Material captured as Anamorphic (DVCPRO50)
Working in Anamorphic sequences.
All is fine.
But when importing (File > Import) clips from other projects (in which material was captured as anamorphic) FCP5 does not recognise the anamorhic 'flag' and makes it 4:3.
Well, no problem. I know this one, so before inserting this imported clip, I set the flag to Yes (anamorphic).
I now insert this anamorphic clip into the anamorpic timeline.
Still everything works like a charm,
UNTIL I Match frame this clip from within the sequence. The clip which is anamorphic in the timeline matches to the same frame in the Viewer, but only in 4:3 !!! ???
The browser still says 'anamorphic', but the Viewer shows a 4:3 picture and inserts as 4:3 (so pillarboxes) in the anamorphic timeline.
Is that a bug?
RienkInteresting, though could this be an issue with DVCPRO50 material?
I ask because I'm unable to reproduce this with DVCPRO25 and DV/DVCAM material captured in Anamorphic, as well as QT Movies (of said captured material) created by FCP (and then reimported).
I also tried QT Conversion, then reimported, but I'm not able to reproduce the issue with Match Frame. -
Replace the value 733.534 in reporting.
Hi Experts,
I am facing one problem in reporting. I am in BI 7.0 environment.
Reports are export to EP everthing is good,
Issue:
one column displaying value like -733.534
my requirement is don't display this value istead of this should display same flag or colour ....
Root cause:
this fields is calculated in the reporting level, so this is not coming from any data target.
calculation: Days from two different Dates.
eg; offer given date - offer excepted date = Days( resulet)
I calculated by farmula with replacement path.
this -733.534 value is displaying only when any one of the two dates are missed then this value will displaying.
if both dates are in reporting calculated value is displyaing right. (currect result).
can any help me how to replace the value -733.534 by any flag or colour.
Regards
VijayHi,
You can achieve this by using exceptions in Query desigenr.you can put some colours for those values.
Let me know if you have any issues.
Reg
Pra -
Replace the following open/fetch/close statements with a cursor FOR loop
Hi anyone could you please help me,
I would like to replace the following open/fetch/close statements with a cursor FOR loop.
Codes are:
CREATE OR REPLACE PROCEDURE COMOES.orchid_shipment_interface IS
-- get the com shipment header records
CURSOR c_com_shphdr ( p_dwn_end_dt DATE ) IS
SELECT custno client_id
, plheadno plheadno
, DECODE(carr_no,'FEDX',lading_no,'UPS',lading_no,carrier_pro_no) tracking_no
, carr_no||'/'||carr_method carrier_id
, plantid plant_id
, carr_no
, lading_no
, del_custaddr ship_to_id
, ol_type cfm_order_type
, del_custno
, shipterm freight_terms
, del_custattn attn_line
, custaddr
FROM com_plhead@com_pricing.world
WHERE status = '9'
AND (mod_dat) > p_dwn_end_dt;
-- get the com shipment address records
CURSOR c_com_shpadr (p_custaddr VARCHAR2) IS
SELECT name1 addr_name
, street1 addr_line1
, street2 addr_line2
, city city
, state state_cd
, zip zip
, country country_cd
, phone work_phone
, email email1
FROM com_address@com_pricing.world
WHERE addr_id = p_custaddr;
-- get the com shipment detail records
CURSOR c_com_shpdtl ( p_plheadno NUMBER) IS
SELECT pll.plheadno pllheadno
, pll.pllineno ord_line_no
, pll.ol_no erp_line_no
, pll.ol_segno
, pll.fg_id sku
, pll.qty_shipped ship_qty
, pll.ordno erp_ord_no
FROM com_plline@com_pricing.world pll
WHERE pll.plheadno = p_plheadno
AND NOT EXISTS (SELECT '1'
FROM com_pkg_int_interface@com_pricing.world cpi
WHERE pll.ordno = cpi.ordno
AND pll.ol_no = cpi.ol_no);
-- type declaration
-- type declaration of com table.
TYPE t_com_shphdr IS TABLE OF c_com_shphdr%ROWTYPE INDEX BY BINARY_INTEGER;
TYPE t_orchid_shphdr IS TABLE OF orchid_shipment_hdr_intf%ROWTYPE INDEX BY BINARY_INTEGER;
TYPE t_com_shpadr IS TABLE OF c_com_shpadr%ROWTYPE INDEX BY BINARY_INTEGER;
TYPE t_orchid_shpadr IS TABLE OF orchid_shipment_address_intf%ROWTYPE INDEX BY BINARY_INTEGER;
TYPE t_com_shpdtl IS TABLE OF c_com_shpdtl%ROWTYPE INDEX BY BINARY_INTEGER;
TYPE t_orchid_shpdtl IS TABLE OF orchid_shipment_dtl_intf%ROWTYPE INDEX BY BINARY_INTEGER;
lv_company_code com_customer.business_unit%TYPE;
lv_erp_ord_no com_plline.ordno%TYPE;
lv_actual_ship_date com_plline.confirm_date%TYPE;
lv_po_no com_oline.po_no%TYPE;
lv_ord_date com_oline.entrydate%TYPE;
lv_hdr_batch_ctrl_no download_batch_info.batch_ctrl_no%TYPE;
lv_adr_batch_ctrl_no download_batch_info.batch_ctrl_no%TYPE;
lv_dtl_batch_ctrl_no download_batch_info.batch_ctrl_no%TYPE;
lv_sku_desc com_salesitem.title%TYPE;
lv_ord_qty com_oldelseg.qty%TYPE;
lr_com_shphdr t_com_shphdr;
lr_orchid_shphdr t_orchid_shphdr;
lr_com_shpadr t_com_shpadr;
lr_orchid_shpadr t_orchid_shpadr;
lr_com_shpdtl t_com_shpdtl;
lr_orchid_shpdtl t_orchid_shpdtl;
-- variable declaration
ln_shphdr_seq NUMBER(10):= 0;
ln_shpadr_seg NUMBER(10):= 0;
ln_shpdtl_seq NUMBER(10):= 0;
cnt NUMBER(10):= 0;
cnt1 NUMBER(10):= 0;
ld_hdr_dwn_end_dt download_batch_info.download_end_tstamp%TYPE;
lc_hdr_dwn_status download_batch_info.dwn_status%TYPE;
ld_hdr_download_end_tstamp DATE;
ln_hdr_running_seq NUMBER(10) := 0;
ld_adr_dwn_end_dt download_batch_info.download_end_tstamp%TYPE;
lc_adr_dwn_status download_batch_info.dwn_status%TYPE;
ld_adr_download_end_tstamp DATE;
ln_adr_running_seg NUMBER(10) := 0;
ld_dtl_dwn_end_dt download_batch_info.download_end_tstamp%TYPE;
lc_dtl_dwn_status download_batch_info.dwn_status%TYPE;
ld_dtl_download_end_tstamp DATE;
ln_dtl_running_seq NUMBER(10) := 0;
BEGIN
-- get the batch control number details from batch information table for shipment header
BEGIN
SELECT batch_ctrl_no
, NVL(download_end_tstamp,TO_DATE('01/01/1980','MM/DD/YYYY'))
, dwn_status
INTO lv_hdr_batch_ctrl_no
, ld_hdr_dwn_end_dt
, lc_hdr_dwn_status
FROM comoes.download_batch_info
WHERE download_id = 'ORCHID_SHIPMENT_HDR_INTF';
EXCEPTION
WHEN NO_DATA_FOUND THEN
DBMS_OUTPUT.PUT_LINE (' No Data Found for ORCHID_SHIPMENT_HDR_INTF in Download Batch Info table...!!!');
RAISE;
WHEN TOO_MANY_ROWS THEN
DBMS_OUTPUT.PUT_LINE (' Too Many Rows found for ORCHID_SHIPMENT_HDR_INTF in Download Batch Info table...!!!');
RAISE;
WHEN OTHERS THEN
DBMS_OUTPUT.PUT_LINE (' Following error occured while getting batch control number for ORCHID_SHIPMENT_HDR_INTF in Download Batch Info table...!!!'||SQLERRM);
RAISE;
END;
-- get the batch control number details from batch information table for shipment address
BEGIN
SELECT batch_ctrl_no
, NVL(download_end_tstamp,TO_DATE('01/01/1980','MM/DD/YYYY'))
, dwn_status
INTO lv_adr_batch_ctrl_no
, ld_adr_dwn_end_dt
, lc_adr_dwn_status
FROM comoes.download_batch_info
WHERE download_id = 'ORCHID_SHIPMENT_ADDRESS_INTF';
EXCEPTION
WHEN NO_DATA_FOUND THEN
DBMS_OUTPUT.PUT_LINE (' No Data Found for ORCHID_SHIPMENT_ADDRESS_INTF in Download Batch Info table...!!!');
RAISE;
WHEN TOO_MANY_ROWS THEN
DBMS_OUTPUT.PUT_LINE (' Too Many Rows found for ORCHID_SHIPMENT_ADDRESS_INTF in Download Batch Info table...!!!');
RAISE;
WHEN OTHERS THEN
DBMS_OUTPUT.PUT_LINE (' Following error occured while getting batch control number for ORCHID_SHIPMENT_ADDRESS_INTF in Download Batch Info table...!!!'||SQLERRM);
RAISE;
END;
-- get the batch control number details from batch information table for shipment details
BEGIN
SELECT batch_ctrl_no
, NVL(download_end_tstamp,TO_DATE('01/01/1980','MM/DD/YYYY'))
, dwn_status
INTO lv_dtl_batch_ctrl_no
, ld_dtl_dwn_end_dt
, lc_dtl_dwn_status
FROM download_batch_info
WHERE download_id = 'ORCHID_SHIPMENT_DTL_INTF';
EXCEPTION
WHEN NO_DATA_FOUND THEN
DBMS_OUTPUT.PUT_LINE (' No Data Found for ORCHID_SHIPMENT_DTL_INTF in Download Batch Info table...!!!');
RAISE;
WHEN TOO_MANY_ROWS THEN
DBMS_OUTPUT.PUT_LINE (' Too Many Rows found for ORCHID_SHIPMENT_DTL_INTF in Download Batch Info table...!!!');
RAISE;
WHEN OTHERS THEN
DBMS_OUTPUT.PUT_LINE (' Following error occured while getting batch control number for ORCHID_SHIPMENT_DTL_INTF in Download Batch Info table...!!!'||SQLERRM);
RAISE;
END;
-- if previous run is not sucess then do nothing and return.
OPEN c_com_shphdr ( ld_hdr_dwn_end_dt ) ;
LOOP
-- delete the collection for every cycle
lr_com_shphdr.DELETE;
lr_orchid_shphdr.DELETE;
lr_com_shpadr.DELETE;
lr_orchid_shpadr.DELETE;
lr_com_shpdtl.DELETE;
lr_orchid_shpdtl.DELETE;
-- fetch the order header records to collection
FETCH c_com_shphdr BULK COLLECT INTO lr_com_shphdr LIMIT 500;
-- where there is no record in the collection the exit from the loop
EXIT WHEN lr_com_shphdr.COUNT = 0;
-- build your logic there to populate the data into order header collection.
FOR i IN 1..lr_com_shphdr.COUNT
LOOP
-- accumulate header running sequence number
ln_hdr_running_seq := ln_hdr_running_seq + 1;
ln_shphdr_seq := ln_hdr_running_seq;
-- Get the business unit for the customer from com_customer
BEGIN
SELECT business_unit
INTO lv_company_code
FROM com_customer@com_pricing.world
WHERE custno = lr_com_shphdr(i).del_custno;
EXCEPTION
WHEN OTHERS THEN
lv_company_code := NULL;
END;
-- Get the ordno, confirm_date from COM_PLLINE
BEGIN
SELECT ordno
, confirm_date
INTO lv_erp_ord_no
, lv_actual_ship_date
FROM com_plline@com_pricing.world cpl
WHERE cpl.plheadno = lr_com_shphdr(i).plheadno
AND ROWNUM = 1;
EXCEPTION
WHEN OTHERS THEN
lv_erp_ord_no := NULL;
lv_actual_ship_date := NULL;
END;
-- Get the po_no, Entry_date from COM_OLINE
BEGIN
SELECT po_no
, entrydate
INTO lv_po_no
, lv_ord_date
FROM com_oline@com_pricing.world col
WHERE col.ordno = lv_erp_ord_no
AND ROWNUM = 1;
EXCEPTION
WHEN OTHERS THEN
lv_po_no := NULL;
lv_ord_date := NULL;
END;
-- To assign the Bol Number from Lading Number
IF lr_com_shphdr(i).carr_no NOT IN ('FEDX','UPS') THEN
lr_orchid_shphdr(i).bol_no := lr_com_shphdr(i).lading_no;
ELSE
lr_orchid_shphdr(i).bol_no := NULL;
END IF;
-- For each order header get the Shipment Delivery Adderss
OPEN c_com_shpadr ( lr_com_shphdr(i).custaddr);
FETCH c_com_shpadr BULK COLLECT INTO lr_com_shpadr;
-- where there is no record in the collection the exit from the loop
EXIT WHEN lr_com_shpadr.COUNT = 0;
-- biuld your logic here to populate the del address collection.
FOR j IN 1..lr_com_shpadr.COUNT
LOOP
-- accumulate the loop count into temp variable, so that will through tell each set of order header.
cnt := cnt + 1;
-- accumolate the header running sequence number.
ln_adr_running_seg := ln_adr_running_seg + 1;
ln_shpadr_seg := ln_adr_running_seg;
-- move the order address data into collection.
lr_orchid_shpadr(cnt).client_id := lr_com_shphdr(i).del_custno;
lr_orchid_shpadr(cnt).ord_no := lr_com_shphdr(i).plheadno;
lr_orchid_shpadr(cnt).tracking_no := lr_com_shphdr(i).tracking_no;
lr_orchid_shpadr(cnt).addr_name := lr_com_shpadr(j).addr_name;
lr_orchid_shpadr(cnt).attn_line := lr_com_shphdr(i).attn_line;
lr_orchid_shpadr(cnt).addr_line1 := lr_com_shpadr(j).addr_line1;
lr_orchid_shpadr(cnt).addr_line2 := lr_com_shpadr(j).addr_line2;
lr_orchid_shpadr(cnt).addr_line3 := NULL;
lr_orchid_shpadr(cnt).addr_line4 := NULL;
lr_orchid_shpadr(cnt).addr_line5 := NULL;
lr_orchid_shpadr(cnt).city := lr_com_shpadr(j).city;
lr_orchid_shpadr(cnt).state_cd := lr_com_shpadr(j).state_cd;
lr_orchid_shpadr(cnt).zip := lr_com_shpadr(j).zip;
lr_orchid_shpadr(cnt).zip_ext := NULL;
lr_orchid_shpadr(cnt).country_cd := lr_com_shpadr(j).country_cd;
lr_orchid_shpadr(cnt).tax_geo_cd := NULL;
lr_orchid_shpadr(cnt).work_phone := lr_com_shpadr(j).work_phone;
lr_orchid_shpadr(cnt).email1 := lr_com_shpadr(j).email1;
lr_orchid_shpadr(cnt).cre_dat := SYSDATE;
lr_orchid_shpadr(cnt).cre_usr := USER;
lr_orchid_shpadr(cnt).batch_ctrl_no := lv_adr_batch_ctrl_no;
END LOOP;
CLOSE c_com_shpadr;
-- For each order header get the order detail/delivery segment data
OPEN c_com_shpdtl ( lr_com_shphdr(i).plheadno );
FETCH c_com_shpdtl BULK COLLECT INTO lr_com_shpdtl;
-- where there is no record in the collection the exit from the loop
EXIT WHEN lr_com_shpdtl.COUNT = 0;
-- build your logic here to populate the order detail collection
FOR k IN 1..lr_com_shpdtl.COUNT
LOOP
-- accumulate the loop count into a temp variable, so that will through till each set of Order Header.
cnt1 := cnt1 + 1;
-- accumulate header running sequence number
ln_dtl_running_seq := ln_dtl_running_seq + 1;
ln_shpdtl_seq := ln_dtl_running_seq;
-- Get Quantity for the delvery from delevery segment table.
BEGIN
SELECT NVL(Qty,0)
INTO lv_ord_qty
FROM com_oldelseg@com_pricing.world cds
WHERE cds.ordno = lr_com_shpdtl(k).erp_ord_no
AND cds.ol_no = lr_com_shpdtl(k).erp_line_no
AND cds.ol_segno = lr_com_shpdtl(k).ol_segno;
EXCEPTION
WHEN OTHERS THEN
lv_ord_qty := NULL;
END;
-- Get Title for the salesitem from the salesitem table.
BEGIN
SELECT Title
INTO lv_sku_desc
FROM com_salesitem@com_pricing.world cs
WHERE cs.fg_id = lr_com_shpdtl(k).sku;
EXCEPTION
WHEN OTHERS THEN
lv_sku_desc := NULL;
END;
-- move the Order detail data into collection
lr_orchid_shpdtl(cnt1).client_id := lr_com_shphdr(i).client_id;
lr_orchid_shpdtl(cnt1).ord_no := lr_com_shphdr(i).plheadno;
lr_orchid_shpdtl(cnt1).ord_line_no := lr_com_shpdtl(k).ord_line_no;
lr_orchid_shpdtl(cnt1).erp_line_no := lr_com_shpdtl(k).erp_line_no;
lr_orchid_shpdtl(cnt1).sku := lr_com_shpdtl(k).sku;
lr_orchid_shpdtl(cnt1).tracking_no := lr_com_shphdr(i).tracking_no;
lr_orchid_shpdtl(cnt1).container_no := NULL;
lr_orchid_shpdtl(cnt1).ord_qty := lv_ord_qty;
lr_orchid_shpdtl(cnt1).ship_qty := lr_com_shpdtl(k).ship_qty;
lr_orchid_shpdtl(cnt1).price_point := NULL;
lr_orchid_shpdtl(cnt1).pick_invoice_no := NULL;
lr_orchid_shpdtl(cnt1).cancel_qty := NULL;
lr_orchid_shpdtl(cnt1).bldg_id := NULL; --lr_com_shpdtl(k).bldg_id;
lr_orchid_shpdtl(cnt1).sku_company := NULL; --lr_com_shpdtl(k).sku_company;
lr_orchid_shpdtl(cnt1).sku_desc := lv_sku_desc;
lr_orchid_shpdtl(cnt1).icc_cd1 := NULL; --lr_com_shpdtl(k).icc_cd1;
lr_orchid_shpdtl(cnt1).erp_ord_no := lr_com_shpdtl(k).erp_ord_no;
lr_orchid_shpdtl(cnt1).cre_dat := SYSDATE;
lr_orchid_shpdtl(cnt1).cre_usr := USER;
lr_orchid_shpdtl(cnt1).batch_ctrl_no := lv_dtl_batch_ctrl_no;
END LOOP;
CLOSE c_com_shpdtl;
-- build the logic to populate Order Header
lr_orchid_shphdr(i).client_id := lr_com_shphdr(i).client_id;
lr_orchid_shphdr(i).ord_no := lr_com_shphdr(i).plheadno;
lr_orchid_shphdr(i).tracking_no := lr_com_shphdr(i).tracking_no;
lr_orchid_shphdr(i).container_no := NULL; -- container number is not maintained in COM
lr_orchid_shphdr(i).carrier_id := lr_com_shphdr(i).carrier_id;
lr_orchid_shphdr(i).plant_id := lr_com_shphdr(i).plant_id;
lr_orchid_shphdr(i).erp_ord_no := lv_erp_ord_no;
lr_orchid_shphdr(i).erp_ord_no2 := NULL;
lr_orchid_shphdr(i).po_no := lv_po_no;
lr_orchid_shphdr(i).ship_to_id := lr_com_shphdr(i).ship_to_id;
lr_orchid_shphdr(i).ship_to_addr_id := lr_com_shphdr(i).custaddr;
lr_orchid_shphdr(i).scac := NULL; --lr_com_shphdr(i).scac;
lr_orchid_shphdr(i).actual_ship_date := lv_actual_ship_date;
lr_orchid_shphdr(i).cfm_order_type := lr_com_shphdr(i).cfm_order_type;
lr_orchid_shphdr(i).company_code := lv_company_code;
lr_orchid_shphdr(i).no_of_order_lines := NULL; --lr_com_shphdr(i).no_of_order_lines;
lr_orchid_shphdr(i).pick_invoice_no := NULL;
lr_orchid_shphdr(i).ord_date := lv_ord_date;
lr_orchid_shphdr(i).orig_tender_date := NULL;
lr_orchid_shphdr(i).orig_delv_date := NULL;
lr_orchid_shphdr(i).delivery_flag := NULL;
lr_orchid_shphdr(i).delv_date_from := NULL;
lr_orchid_shphdr(i).delv_date_to := NULL;
lr_orchid_shphdr(i).orig_carr_cd := NULL;
lr_orchid_shphdr(i).routing_comment := NULL;
lr_orchid_shphdr(i).segment_type := NULL;
lr_orchid_shphdr(i).back_order_flag := NULL;
lr_orchid_shphdr(i).addr_override_flag := NULL;
lr_orchid_shphdr(i).fmx_assigned_carr := NULL;
lr_orchid_shphdr(i).fmx_assigned_ship_date := NULL;
lr_orchid_shphdr(i).fmx_assigned_delv_date := NULL;
lr_orchid_shphdr(i).freight_terms := lr_com_shphdr(i).freight_terms;
lr_orchid_shphdr(i).fmx_load_id := NULL;
lr_orchid_shphdr(i).asn_type := NULL;
lr_orchid_shphdr(i).icc_cd1 := NULL; --lr_com_shphdr(i).icc_cd1;
lr_orchid_shphdr(i).trans_type := NULL;
lr_orchid_shphdr(i).ref_no1 := NULL;
lr_orchid_shphdr(i).ref_no2 := NULL;
lr_orchid_shphdr(i).ref_no3 := NULL;
lr_orchid_shphdr(i).ref_no4 := NULL;
lr_orchid_shphdr(i).cre_dat := SYSDATE;
lr_orchid_shphdr(i).cre_usr := USER;
lr_orchid_shphdr(i).batch_ctrl_no := lv_hdr_batch_ctrl_no;
-- logic to get total boxes and weight.
BEGIN
SELECT SUM(no_cartons), SUM(weight)
INTO lr_orchid_shphdr(i).total_boxes
, lr_orchid_shphdr(i).weight
FROM com_plline@com_pricing.world pll
WHERE pll.plheadno = lr_com_shphdr(i).plheadno;
EXCEPTION
WHEN OTHERS THEN
lr_orchid_shphdr(i).total_boxes := NULL;
lr_orchid_shphdr(i).weight := NULL;
END;
END LOOP;
-- initialize the variables for next loop cycle.
cnt := 0;
cnt1 := 0;
-- populate the shipment header interface table.
FOR x IN 1..lr_orchid_shphdr.COUNT
LOOP
ld_hdr_download_end_tstamp := lr_orchid_shphdr(x).cre_dat;
INSERT INTO orchid_shipment_hdr_intf
(record_qualifier
,client_id
,ord_no
,tracking_no
,container_no
,bol_no
,carrier_id
,plant_id
,erp_ord_no
,erp_ord_no2
,po_no
,ship_to_id
,ship_to_addr_id
,scac
,actual_ship_date
,cfm_order_type
,company_code
,no_of_order_lines
,pick_invoice_no
,total_boxes
,weight
,ord_date
,orig_tender_date
,orig_delv_date
,delivery_flag
,delv_date_from
,delv_date_to
,orig_carr_cd
,routing_comment
,segment_type
,back_order_flag
,addr_override_flag
,fmx_assigned_carr
,fmx_assigned_ship_date
,fmx_assigned_delv_date
,freight_terms
,fmx_load_id
,asn_type
,upl_status
,icc_cd1
,trans_type
,ref_no1
,ref_no2
,ref_no3
,ref_no4
,cre_dat
,cre_usr
,batch_ctrl_no)
VALUES
( 10
,lr_orchid_shphdr(x).client_id
,lr_orchid_shphdr(x).ord_no
,lr_orchid_shphdr(x).tracking_no
,lr_orchid_shphdr(x).container_no
,lr_orchid_shphdr(x).bol_no
,lr_orchid_shphdr(x).carrier_id
,lr_orchid_shphdr(x).plant_id
,lr_orchid_shphdr(x).erp_ord_no
,lr_orchid_shphdr(x).erp_ord_no2
,lr_orchid_shphdr(x).po_no
,lr_orchid_shphdr(x).ship_to_id
,lr_orchid_shphdr(x).ship_to_addr_id
,lr_orchid_shphdr(x).scac
,lr_orchid_shphdr(x).actual_ship_date
,lr_orchid_shphdr(x).cfm_order_type
,lr_orchid_shphdr(x).company_code
,lr_orchid_shphdr(x).no_of_order_lines
,lr_orchid_shphdr(x).pick_invoice_no
,lr_orchid_shphdr(x).total_boxes
,lr_orchid_shphdr(x).weight
,lr_orchid_shphdr(x).ord_date
,lr_orchid_shphdr(x).orig_tender_date
,lr_orchid_shphdr(x).orig_delv_date
,lr_orchid_shphdr(x).delivery_flag
,lr_orchid_shphdr(x).delv_date_from
,lr_orchid_shphdr(x).delv_date_to
,lr_orchid_shphdr(x).orig_carr_cd
,lr_orchid_shphdr(x).routing_comment
,lr_orchid_shphdr(x).segment_type
,lr_orchid_shphdr(x).back_order_flag
,lr_orchid_shphdr(x).addr_override_flag
,lr_orchid_shphdr(x).fmx_assigned_carr
,lr_orchid_shphdr(x).fmx_assigned_ship_date
,lr_orchid_shphdr(x).fmx_assigned_delv_date
,lr_orchid_shphdr(x).freight_terms
,lr_orchid_shphdr(x).fmx_load_id
,lr_orchid_shphdr(x).asn_type
,00
,lr_orchid_shphdr(x).icc_cd1
,lr_orchid_shphdr(x).trans_type
,lr_orchid_shphdr(x).ref_no1
,lr_orchid_shphdr(x).ref_no2
,lr_orchid_shphdr(x).ref_no3
,lr_orchid_shphdr(x).ref_no4
,lr_orchid_shphdr(x).cre_dat
,lr_orchid_shphdr(x).cre_usr
,lr_orchid_shphdr(x).batch_ctrl_no);
END LOOP;
-- populate the shipment address interface table.
FOR y IN 1..lr_orchid_shpadr.COUNT
LOOP
ld_adr_download_end_tstamp := lr_orchid_shpadr(y).cre_dat;
INSERT INTO orchid_shipment_address_intf
( record_qualifier
, client_id
, ord_no
, tracking_no
, addr_name
, attn_line
, addr_line1
, addr_line2
, addr_line3
, addr_line4
, addr_line5
, city
, state_cd
, zip
, zip_ext
, country_cd
, tax_geo_cd
, work_phone
, email1
, cre_dat
, cre_usr
, batch_ctrl_no)
VALUES ( 14
, lr_orchid_shpadr(y).client_id
, lr_orchid_shpadr(y).ord_no
, lr_orchid_shpadr(y).tracking_no
, lr_orchid_shpadr(y).addr_name
, lr_orchid_shpadr(y).attn_line
, lr_orchid_shpadr(y).addr_line1
, lr_orchid_shpadr(y).addr_line2
, lr_orchid_shpadr(y).addr_line3
, lr_orchid_shpadr(y).addr_line4
, lr_orchid_shpadr(y).addr_line5
, lr_orchid_shpadr(y).city
, lr_orchid_shpadr(y).state_cd
, lr_orchid_shpadr(y).zip
, lr_orchid_shpadr(y).zip_ext
, lr_orchid_shpadr(y).country_cd
, lr_orchid_shpadr(y).tax_geo_cd
, lr_orchid_shpadr(y).work_phone
, lr_orchid_shpadr(y).email1
, lr_orchid_shpadr(y).cre_dat
, lr_orchid_shpadr(y).cre_usr
, lr_orchid_shpadr(y).batch_ctrl_no);
END LOOP;
-- populate the shipment detail interface table.
FOR z IN 1..lr_orchid_shpdtl.COUNT
LOOP
ld_dtl_download_end_tstamp := lr_orchid_shpdtl(z).cre_dat;
INSERT INTO orchid_shipment_dtl_intf
( record_qualifier
, client_id
, ord_no
, ord_line_no
, erp_line_no
, sku
, tracking_no
, container_no
, ord_qty
, ship_qty
, price_point
, pick_invoice_no
, cancel_qty
, bldg_id
, sku_company
, sku_desc
, icc_cd1
, erp_ord_no
, cre_dat
, cre_usr
, batch_ctrl_no)
VALUES ( 20
, lr_orchid_shpdtl(z).client_id
, lr_orchid_shpdtl(z).ord_no
, lr_orchid_shpdtl(z).ord_line_no
, lr_orchid_shpdtl(z).erp_line_no
, lr_orchid_shpdtl(z).sku
, lr_orchid_shpdtl(z).tracking_no
, lr_orchid_shpdtl(z).container_no
, lr_orchid_shpdtl(z).ord_qty
, lr_orchid_shpdtl(z).ship_qty
, lr_orchid_shpdtl(z).price_point
, lr_orchid_shpdtl(z).pick_invoice_no
, lr_orchid_shpdtl(z).cancel_qty
, lr_orchid_shpdtl(z).bldg_id
, lr_orchid_shpdtl(z).sku_company
, lr_orchid_shpdtl(z).sku_desc
, lr_orchid_shpdtl(z).icc_cd1
, lr_orchid_shpdtl(z).erp_ord_no
, lr_orchid_shpdtl(z).cre_dat
, lr_orchid_shpdtl(z).cre_usr
, lr_orchid_shpdtl(z).batch_ctrl_no);
END LOOP;
COMMIT;
END LOOP;
CLOSE c_com_shphdr;
-- set the status to success
UPDATE comoes.download_batch_info
SET batch_ctrl_no = orchid_plhead_btch_ctrl_seq.NEXTVAL
, dwn_status = '90'
, download_end_tstamp = NVL(ld_hdr_download_end_tstamp,SYSDATE)
WHERE download_id = 'ORCHID_SHIPMENT_HDR_INTF'
AND batch_ctrl_no = lv_hdr_batch_ctrl_no;
UPDATE comoes.download_batch_info
SET batch_ctrl_no = orchid_address_btch_ctrl_seq.NEXTVAL
, dwn_status = '90'
, download_end_tstamp = NVL(ld_hdr_download_end_tstamp,SYSDATE)
WHERE download_id = 'ORCHID_SHIPMENT_ADDRESS_INTF'
AND batch_ctrl_no = lv_adr_batch_ctrl_no;
UPDATE comoes.download_batch_info
SET batch_ctrl_no = orchid_plline_btch_ctrl_seq.NEXTVAL
, dwn_status = '90'
, download_end_tstamp = NVL(ld_dtl_download_end_tstamp,SYSDATE)
WHERE download_id = 'ORCHID_SHIPMENT_DTL_INTF'
AND batch_ctrl_no = lv_dtl_batch_ctrl_no;
-- Update the download status to success in the interface table.
-- Shipment Header
COMMIT;
EXCEPTION
WHEN OTHERS THEN
-- load is not sucess then set the status to fail
UPDATE comoes.download_batch_info
SET dwn_status = '99'
WHERE download_id = 'ORCHID_SHIPMENT_HDR_INTF'
AND batch_ctrl_no = lv_hdr_batch_ctrl_no;
UPDATE comoes.download_batch_info
SET dwn_status = '99'
WHERE download_id = 'ORCHID_SHIPMENT_ADDRESS_INTF'
AND batch_ctrl_no = lv_adr_batch_ctrl_no;
UPDATE comoes.download_batch_info
SET dwn_status = '99'
WHERE download_id = 'ORCHID_SHIPMENT_DTL_INTF'
AND batch_ctrl_no = lv_dtl_batch_ctrl_no;
COMMIT;
DBMS_OUTPUT.PUT_LINE('Following error occured while executing ORCHID_SHIPMENT_INTF procedure...!!!'||SQLERRM);
RAISE;
END orchid_shipment_interface;Edited by: BluShadow on 03-Aug-2011 13:28
added {noformat}{noformat} tags. Please read {message:id=9360002} to learn to do this yourself. &nbPlease read the Forum FAQ on how to ask a question, particularly how to format code
SQL and PL/SQL FAQ
SQL and PL/SQL FAQ
WHEN OTHERS THEN
DBMS_OUTPUT.PUT_LINE (' Following error occured while getting batch control number for ORCHID_SHIPMENT_HDR_INTF in Download Batch Info table...!!!'||SQLERRM);
RAISE;http://tkyte.blogspot.com/2008/01/why-do-people-do-this.html -
How do I install a new system file to replace the damaged one
I am tring to repair the permissions on my computer and am getting all of these types of errors. Computer is dragging. I reinstalled my operating system and this is what is happening. Any suggestions. Happening on my desk top I Mac and on my Mac Book. I did google search and Error 23 is "These errors indicate that the Mac tried to access one of the standard routines in the system file and couldn't find it. In all probability, that means you have a corrupted system file. Try installing a new system file to replace the damaged one."
Here is a sample of what disk utilities says
Open error 23: "Too many open files in system" on System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/doc /activesupport-2.3.5/ri/ActiveSupport/CoreExtensions/Array/Conversions/cdesc-Con versions.yaml
Open error 23: "Too many open files in system" on System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/doc /activesupport-2.3.5/ri/ActiveSupport/CoreExtensions/Array/Conversions/to_format ted_s-i.yaml
Open error 23: "Too many open files in system" on System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/doc /activesupport-2.3.5/ri/ActiveSupport/CoreExtensions/Array/Conversions/to_param- i.yaml
Open error 23: "Too many open files in system" on System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/doc /activesupport-2.3.5/ri/ActiveSupport/CoreExtensions/Array/Conversions/to_query- i.yaml
Open error 23: "Too many open files in system" on System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/doc /activesupport-2.3.5/ri/ActiveSupport/CoreExtensions/Array/Conversions/to_senten ce-i.yaml
Open error 23: "Too many open files in system" on System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/doc /activesupport-2.3.5/ri/ActiveSupport/CoreExtensions/Array/Conversions/to_xml-i. yaml
Open error 23: "Too many open files in system" on System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/doc /activesupport-2.3.5/ri/ActiveSupport/CoreExtensions/Array/ExtractOptions
Open error 23: "Too many open files in system" on System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/doc /activesupport-2.3.5/ri/ActiveSupport/CoreExtensions/Array/ExtractOptions/cdesc- ExtractOptions.yaml"
It says it should be done in 6 minutes and I am going on hours!
Permissions differ on "System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Support/Rem ote Desktop Message.app/Contents/Resources/zh_TW.lproj/UIAgent.nib", should be drwxr-xr-x , they are -rwxr-xr-x .
Repaired "System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Support/Rem ote Desktop Message.app/Contents/Resources/zh_TW.lproj/UIAgent.nib".
Permissions differ on "System/Library/CoreServices/RemoteManagement/AppleVNCServer.bundle/Contents/Su pport/LockScreen.app/Contents/Resources/zh_TW.lproj/MainMenu.nib", should be drwxr-xr-x , they are -rwxr-xr-x .
Repaired "System/Library/CoreServices/RemoteManagement/AppleVNCServer.bundle/Contents/Su pport/LockScreen.app/Contents/Resources/zh_TW.lproj/MainMenu.nib".
Permissions differ on "System/Library/CoreServices/RemoteManagement/AppleVNCServer.bundle/Contents/Su pport/LockScreenLeopard386.app/Contents/Resources/zh_TW.lproj/MainMenu.nib", should be drwxr-xr-x , they are -rwxr-xr-x .
Repaired "System/Library/CoreServices/RemoteManagement/AppleVNCServer.bundle/Contents/Su pport/LockScreenLeopard386.app/Contents/Resources/zh_TW.lproj/MainMenu.nib".
Permissions differ on "System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Support/Rem ote Desktop Message.app/Contents/Resources/zh_CN.lproj/UIAgent.nib", should be drwxr-xr-x , they are -rwxr-xr-x .
Repaired "System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Support/Rem ote Desktop Message.app/Contents/Resources/zh_CN.lproj/UIAgent.nib"."
Any suggestions?I would apply or reapply the 10.6.8. Combo Update from Safe Boot (hold Shift down at startup -- give it much more time to boot than usual and leave it in SB for a few minutes before doing anything.)
http://support.apple.com/kb/dl1399
The messages you are seeing beginning with "Permissions differ on...." can be ignored. -
Display burn in - Apple does not want to replace the LCD
Recently my iMac 24” LCD display began to have “screen burn ins“ or image persistence on the LCD. I have done extensive online research about the issue, I tried setting my screensaver to pure white and running the apple screensaver to resolve the issue. I did not use my computer any more extensively than any of my other macs, so the image burn in came as a surprise to me this early in the Mac’s life span. I understand that the issue exists, and would not surprise me if my computer was several years old and it was never turned off. I will have to argue that the “screen burn in” happened too early for my iMac.
I took my iMac to an Apple store and waited to speak with a Genius and have a diagnosis. After the Genius ran his diagnosis he said that I am out of warranty, however he agreed with me that it was too early for something like this to happen. He proposed that my LCD screen would be replaced, and said that he would give me a break and make a “one time warranty exception and not charge me for the new LCD and replacement based on the circumstance.” The genius placed an order for an LCD panel for my iMac, printed out the work order and shook my hand, I was extremely grateful thanked the Genius for making such an exception.
After leaving my iMac in the store for repairs for 5 days, with excitement and anticipation I picked up my iMac which was claimed to be “fixed”. I got home opened up the box and plugged in the iMac and the first thing that I noticed was a dead pixel that I recognized from the old LCD, what are the odds of the new display having a dead pixel in the exact same spot? I called back to the apple store with my repair number at hand and confirmed that my LCD was never replaced.
I thought to myself, maybe they fixed it, but just to be safe I used the computer until I noticed nothing changed the “burn in issue” is still here. So I created a background image in photoshop to purposely leave on for an hour as proof of the problem. I called back to the apple store early in the morning and talked with the technical center, the girl on the phone said “I remember your mac” I thought we had it fixed. I asked to make sure that the LCD that was ordered for the sole purpose of fixing the burn in issue which I had was still at the store, it was confirmed that it was.
I came by the apple store and a different Genius looked at my computer, saw the excessive burn in. He ran the “Flurry” Screen saver, which helped remove the current burn in but was still not fully removed. He then told me that they would not replace the LCD, and that I should set my screen saver to every 5 minutes and lower the brightness to reduce the load on the screen. I argued that even if I can get rid of the problem after running the screensaver for at least an hour, the burn in just keeps coming back, and fast too.
I came home setup the screensaver settings and began using my machine, not using it for even more than an hour I saw the burn ins from the store and some new ones that came from my doc, and finder window and shadow lines distorting the entire screen, almost making it look like mud lines.
I took a few pictures with a DSL camera at the highest resolution, but I am not sure if this shows enough to really show:
Doc burned in:
#1 http://dl.dropbox.com/u/1477936/apple/DSC_0751.jpg (need to make it 100% to see)
#2 http://dl.dropbox.com/u/1477936/apple/DSC_0754.jpg (need to make it 100% to see)
Does any one know what I should do now?Welcome to the Apple Discussions!
I think that regardless that this was a different Genius, the Apple Store has made a commitment to you to repair the iMac out of warranty and should honor this commitment. I would go back to the Apple Store and speak directly to the Store Manager with your original paperwork in hand for the repair that was not completed.
Should you not receive satisfaction from the Store Manager then I would call Apple Care and immediately ask to have your call escalated to a Customer Care representative. Explain the issue to the rep and ask for their assistance in receiving the repair commitment originally made to you by the Apple Store.
Have all necessary paperwork for the committed repair at hand during your phone conversation. Take notes. Get the name and the position of each person to whom you speak. Speak firmly but politely. Do not get angry or make any threats. The minute you mention a lawyer or any other such threat the conversation will be over and Apple will fall back on the fact the Mac is out of warranty and any opportunity of getting a repair will likely be gone.
Dah•veed -
I have reached capacity on my IMac hard drive. It is a 250 GB drive. I have an external drive backing up using the time machine utility. My question is once I replace the HD on the IMac, how do I load the new drive with the back up from the external drive?
So many possibilities.
I am not an expert, but I have learned this much is doable:
Buy an external enclosure to re-use you old drive.
Buy a new external drive at least as large as as your intended new internal drive. Make it self-powered.
Download CarbonCopyClone (free download, relatively small).
Make a CCC clone of the original disk on the new external disk
Install the original disk in the external enclosure.
Install the new disk in the main system.
Boot from that new external drive that has the carbon copy clone. CCC will be installed on it and it will be bootable.
Use CCC on the external to directly clone back to new drive you install in the main system (the "bootable" flag will copy).
NOTE THAT AT NO TIME IS YOUR ORIGINAL DISK BEING OVERWRITTEN IN THIS PROCESS. YOU CAN ALWAYS GO BACK AND REINSTALL IT.
Step 1 makes your old disk resuable as a spare copy for "anything".
Step 2 gives you something to use as CCC for after the recovery process.
Step 3 gets the software needed for cloning
Step 4 makes a bootable saved copy of your current system
Step 5 shifts your old disk to a usable place
Step 6 positions your new disk
Step 7 boots your existing install of OSX (just from a different drive)
Step 8 puts your original install on your new disk.
Now you have a bootable larger hard drive, and a bootable copy on a drive large enough to save all you can store on your new internal drive. And you have your old disk to use for "anything".
Now you have TM backup in one place, and CCC backup in another.
Two backups is better than one, and one of your backups is bootable in case of system failure. -
Batch-find-and-replace.jsx
Hi there, I wrote a batch-processing script for find change queries and thought I share it with you. You can get it over here
You can process GREP, TEXT, GLYPH and OBJECT searches.
Purpouse
While creating books in InDesign with several documents we always come across some find change queries that need to be used again, and again, and again. To make this process easier you can just grab their names and put them into a list. The script will than try to process all your queries in one click.
prerequisites
make sure you have a toml file.
make sure the toml file is next to the script.
make sure the toml file has the right formatting (see below in section TOML)
if you want the script to autoexecute (without toml file selection), make sure the .toml file has the right name: "batch-find-and-replace.toml"
make sure your fcqueries work right
Usage
Place the script and the toml file into your Scripts Panel Folder
define some find and change queries and save them via the InDesign dialogue.
get the xml file names and add them to the "batch-find-and-replace.toml" file in the right spot. text search goes into text.files = [], grep search goes into grep.files = [] and so on. Make shure to remove the .xml from the filename. You can find these files on:
Mac OS Users[username]\Library\Preferences\Adobe InDesign[Version][Language]\Find-Change Queries[query type]
Windows XP Documents and Settings[username]\Application Data\Adobe\InDesign[Version][Language]\Find-Change Queries[query type]
Windows Vista and Windows 7 Users[username]\AppData\Roaming\Adobe\InDesign[Version][Language]\Find-Change Queries[query type]
the .toml file should be located next to the script file and have the appropriate name (batch-find-and-replace.toml). If so the script wont ask for the toml file and process the data right away. If not the script will ask you to select the .toml file.
Thats it. Watch the magick happen.
TOML
Tom's Obvious, Minimal Language is a simple markup language that makes settings human readable. It is still in development and may change a lot. But still. It is a pretty easy language and can be learned by anyone.
The basic toml filer looks like this:
# these are the basic settings
# the MUST be there
do_text = true
do_grep = true
do_glyph = true
do_object = false
# now the file names
# they have to be in one line
# the toml specs say you can break lines in arrays
# but the toml.js does not allow that at the moment
[text]
files = ["my_first_text_find_and_change","another one"]
[grep]
files = ["somegrepsearch", "find tabs", "something else"]
[glyph]
files = []
[objects]
files = []
MUST HAVE Settings
With the do_text, do_object, do_grep and do_glyph you can define if the script should do the corresponding find and replace. Set them to true or false.
CAN HAVE Settings
In the [text],[grep],[glyph] and [objects] areas you can define the filenames that should be processed. Make sure the filenames are written right. If there is a file mentioned that does not exist the script will throw an error. It will try to process all the .xml files it can find.
!IMPORTANT! you MUST remove the .xml from the filename in the list as shown above.
The Script is here --> https://raw.github.com/...find-and-replace.jsx
The basic .toml file here --> https://raw.github.com/...ind-and-replace.toml
The Readme here --> https://github.com/...lob/master/README.md
And the whole package here --> https://github.com/...e/archive/master.zipGreat script, it worked perfectly with grep, text, glyph, not only worked with OBJECTS, because I do the same operation and does not work. Can you give me a hand? Thank you.
In arquivo.toml is thus:
# These are the basic settings
# The MUST be there
do_text = true
do_grep = false
do_glyph = false
do_object = true
do_all_docs = false
# Now the file names
# They have to be in one line
# TomL the specs say you can break lines in arrays
# But does not allow the toml.js que momento
[text]
files = ["_OVER_BLACK_TXT", "_OVER_CORPROF_TXT"]
[grep]
files = []
[glyph]
files = []
[object]
files = ["_OVER_BLACK_FILL", "_OVER_BLACK_STRK"]
This is the image of the Scripts Panel folder: -
Running a batch file kept on the server
Hi ,
I need to upload a file onto the application server then i have to call a batch file from my ABAP code kept on the same server .
The batch file takes 3 inputs the uploaded filename onto the server the new file name ( that can be any name ) and the delete flag parameter ( 0 or 1 ).
Is there any function module to do the same ??Hi,
Follow the steps:
1) Define external operating system command say zcopytm1 using SM69 by using the following parameters:
Command name Operating system Type
ZCOPYTM1 Windows NT Customer
Operating system command
e:\tm1out\tm1ph.bat
Parameters for operating system command
Leave this blank
tm1ph.bat is the batch file which it will execute.
2) First test it using SM49. Once satisfied use the following code to execute it thru ABAP:
DATA: BEGIN OF t_copy OCCURS 1.
INCLUDE STRUCTURE btcxpm.
DATA: END OF t_copy.
DATA: statusline LIKE btcxp3-exitstat.
CALL FUNCTION 'SXPG_COMMAND_EXECUTE'
EXPORTING
commandname = 'zcopytm1'
status = statusline
TABLES
exec_protocol = t_copy
EXCEPTIONS
no_permission = 1
command_not_found = 2
parameters_too_long = 3
security_risk = 4
wrong_check_call_interface = 5
program_start_error = 6
program_termination_error = 7
x_error = 8
parameter_expected = 9
too_many_parameters = 10
illegal_command = 11
wrong_asynchronous_parameters = 12
cant_enq_tbtco_entry = 13
jobcount_generation_error = 14
OTHERS = 15
CASE sy-subrc.
WHEN 0.
MESSAGE s999 WITH 'File has been copied in G:\public\tm1ph'.
WHEN 1.
MESSAGE s999 WITH 'No_permission'.
WHEN 2.
MESSAGE s999 WITH 'Command_not_found'.
WHEN 3.
MESSAGE s999 WITH 'Parameters_too_long'.
WHEN 4.
MESSAGE s999 WITH 'Security_risk'.
WHEN 5.
MESSAGE s999 WITH 'Wrong_check_call_interface'.
WHEN 6.
MESSAGE s999 WITH 'Program_start_error'.
WHEN 7.
MESSAGE s999 WITH 'Program_termination_error'.
WHEN 8.
MESSAGE s999 WITH 'X_error'.
WHEN 9.
MESSAGE s999 WITH 'Parameter_expected'.
WHEN 10.
MESSAGE s999 WITH 'Too_many_parameters'.
WHEN 11.
MESSAGE s999 WITH 'Illegal_command'.
WHEN 12.
MESSAGE s999 WITH 'Wrong_asynchronous_parameters'.
WHEN 13.
MESSAGE s999 WITH 'Cant_enq_tbtco_entry'.
WHEN 14.
MESSAGE s999 WITH 'Jobcount_generation_error'.
ENDCASE.
I hope this helps,
Regards
Raju Chitale
Edited by: Raju Chitale on Dec 22, 2008 5:38 AM -
How to replace the '&' character with '&' in xi
Hi,
i need to replace the '&' character with ' &'.but i f i am converting it is displaying as '&' because internally '&' = '&'.
beacuse of this it is not converting.
is there any possiblity to change the standard conversion in xi.Graphical mapping does not support special character like & , <,> to be mapped.
You can encode & as and in UTF-8 only.
if you want the special character to be used, Opt XSLT mapping with ISO-8859-1 encoding
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="xml" encoding="ISO-8859-1"/>
<xsl:template match="/">
<xsl:copy-of select="*" />
</xsl:template>
</xsl:stylesheet>
How to Work with Character Encodings in Process Integration (NW7.0)
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/502991a2-45d9-2910-d99f-8aba5d79fb42
Maybe you are looking for
-
As the title says, my previous macbook broke, and now I have a new computer...PC :/ and I can't sync my iphone 4s to the computer properly wihtout losing the data on the iphone. It says i have to wipe my iphone.
-
Contacts or Address Book Problem on iMac
I have tried everything but I can get any Contacts (Address Book) to work on iMac using Yosemite and I am using iCloud. My Contacts work fine on iTouch. I can login to iCloud on the Web and it is fine. But click on the Contacts App bottom of iMac
-
Tab Function in Pages for iPad moved?
Was using pages for ipad today, and I used to use a tab function from the top menu bar by hitting a button that looks like an align button and it allowed for page breaks and tab functions. I think I updated pages, and now I have to hold down as if I
-
Since I downloaded the last version (8.1), ITunes is unable to burn cd's. I have the following message : "software or burner not foundable". I'm waiting for an answer from the support desk.
-
ALV Grid: Alternate Field Catalog per Line Type possible?
I'm using the ALV Grid Classes: Is it possible to change the Field Catalog per line type? I have two different line types: 1) Interspersed headers and 2) data lines. The Interspersed headers should have no_zero = 'x' and the data lines no_zero = spac