Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Changing persmissions for output file in UNIX box with SQR. Post 3613 by evengetsteven on Saturday 7th of July 2001 05:49:00 AM
Old 07-07-2001
Question Changing persmissions for output file in UNIX box with SQR.

I am trying to change permissions on an output file from an sqr. The file is pushed out into a directory on the unix box. I am using the following code in the sqr to accomplish this.

if $OUTPUT <> ''
let $unix_call = 'chmod 664 '||$OUTPUT
show $unix_call
CALL SYSTEM Using $unix_call #unix_status wait
end-if

This worked in version 7 SQR, but since we have upgraded to version 8 this does not succesfully change permissions on the file in the unix box. I am not sure whether something has changed from a command standpoint or not. Does anyone have any suggestions on what could be causing this not to work?
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

How to FTP a file generated at UNIX Box to NT Box

Hi all, I am generating a file on the Unix machine , now i want to FTP the same file to the NT machine. how can i do that and the application currently upon which i am working is a JAVA based application. I need your help. regards Ruchir (2 Replies)
Discussion started by: Ruchir
2 Replies

2. UNIX for Dummies Questions & Answers

SQR to UNIX

UNIX script running a SQR program.... passing values to SQR program... trying to pass values back to UNIX.... I'm currently creating a file from the SQR program and then using the Unix READ command to read the file and retrieve the value.... Is there an easier way to pass the values back from... (0 Replies)
Discussion started by: seeuinoz
0 Replies

3. UNIX for Advanced & Expert Users

Passing values from SQR to UNIX

UNIX script running a SQR program.... no problem passing values to SQR program... trying to pass values back to UNIX.... I'm currently creating a file from the SQR program and then using the Unix READ command to read the file and retrieve the value.... Is there an easier way to pass the... (2 Replies)
Discussion started by: seeuinoz
2 Replies

4. UNIX for Dummies Questions & Answers

Running UNIX commands remotely in Windows box from Unix box – avoid entering password

I am able to run the UNIX commands in a Windows box from a UNIX box through "SSH" functionality. But whenever the SSH connection is established between UNIX and Windows, password for windows box is being asked. Is there a way to avoid asking password whenever the SSH connection is made? Can I... (1 Reply)
Discussion started by: D.kalpana
1 Replies

5. Shell Programming and Scripting

how to compare all files in one unix box has been to copied to another unix box

Hi our unix admin has copied all files from one unix box to new unix box. We just need to confirm that all the file systems are copied properly. How to validate. (9 Replies)
Discussion started by: sravanreddym
9 Replies

6. UNIX for Advanced & Expert Users

Copy file from unix box to another unix box

Hi, I am new for perl scripting, I need a script to copy a log file /test/test_yyyymmdd.dat from one unix box to another unix box location /check/check1/ at daily 2:00AM, please let me know how to do that...... Regards, Ann (8 Replies)
Discussion started by: fabrine
8 Replies

7. Shell Programming and Scripting

ftp file starting with particular name on Windows box to Unix box using shell script

Hello all ! I'm trying to write a shell script (bash) to ftp a file starting with particular name like "Latest_" that is present on a Windows box to UNIX server. Basically I want to set this script in the cron so that daily the new build that is posted on the Windows box can be downloaded to the... (2 Replies)
Discussion started by: vijayb4u83
2 Replies

8. Shell Programming and Scripting

How to write a script in unix to get value from SQR?

hi this is naga, i had created one SQR , but i didnt include the code to get the notification(failure or success ) thats way every time its returning the status=0 SQR was went to success(if it failed also), without touching the code of the SQR can any one help to write script in unix to get... (4 Replies)
Discussion started by: nagavenkatesh
4 Replies

9. UNIX for Dummies Questions & Answers

Transferring the file from one UNIX box to another UNIX box

Hi Folks, I am using winscp to graphiclly move the files from one unix box to another unix box , let say one unix box crediantials is (These are dummy crediantials) xxx -->username yyy -->password and another unix box name is RRR -->username TTT -->password NOW i need to... (4 Replies)
Discussion started by: punpun66
4 Replies

10. Shell Programming and Scripting

awk changing numbering in output file

The below awk is supposed filter $8 of example.txt using the each line in gene.txt. I think it is but why is it renumbering the 1,2,3 in $1 to 28,29,394? I have attached the data as it is large, example.txt is the file to be searched, gene.txt has the lines to match, and filtered.txt is the current... (2 Replies)
Discussion started by: cmccabe
2 Replies
EXTRACTBB(1)							     DVIPDFMx							      EXTRACTBB(1)

NAME
extractbb, ebb - extract bounding box information from graphics files SYNOPSIS
extractbb [-v|-q] [-O] [-m|-x] file... DESCRIPTION
For each JPEG, PNG, or PDF file given on the command line, extractbb extracts the bounding box information and writes it into a file with extension .xbb, together with some header information. These files can then be used by dvipdfmx or other programs. For PDF files, the num- ber of pages and the PDF version number are reported as well. The input filename extension may be in upper or lower case. If called as ebb, the output is written in the ``bb'' format (and with extension .bb) as used by dvipdfm. Xbb may be defined as a synomym for extractbb on your system. OPTIONS
-v Be verbose. -q Be quiet. -O Write output to standard output. -m Write output in dvipdfm's ``bb'' format. -x Write output in dvipdfmx's ``xbb'' format (default), which is the same as that used by pdfTeX. OUTPUT FORMATS
Here are more details about the bb and xbb formats: The original ebb (from dvipdfm) ignored density information in bitmap images, and generated bounding boxes with 100px = 72bp = 1in. Unfor- tunately, screenshots (especially) tend to look bad with this approach. So, extractbb (from dvipdfmx) uses density information if present. Otherwise, it generates bounding box with 100px = 100bp. This is what pdfTeX does. BUGS
There is currently no way to specify which bounding box is taken for PDF files. It will always be the first one from the following list: ArtBox, TrimBox, BleedBox, MediaBox. (Often only MediaBox is defined.) Moreover, the reported bounding box always refers to the first page in a PDF file. AUTHOR
extractbb was written by the DVIPDFMx project team <dvipdfmx@ktug.or.kr>, based on the program ebb by Mark A. Wicks. This manual page was also written by the DVIPDFMx project team, based on a manual page Frank Kuster <frank@kuesterei.ch> wrote for the Debian GNU/Linux system. It may be used, modified, and/or redistributed by others without contacting the authors. 20120420 20 April 2012 EXTRACTBB(1)
All times are GMT -4. The time now is 06:48 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy