Sponsored Content
Full Discussion: AS400
Top Forums Shell Programming and Scripting AS400 Post 302603442 by CODIII on Thursday 1st of March 2012 03:59:17 AM
Old 03-01-2012
AS400

Hi all,

I'm new to this forum.
I have a problem at work. I am a RPG programmer (AS400) but i have a new project to try something in QSHELL and i'm totally new to this.

I have to make a 'list' wich contains all our AS400 directories (+ on this level the size of the directory and how many files it includes) + subdirectories + files.
This is what i am using now as command.:
Code:
 ls -s -R -l   > /qsys.lib/nboghman.lib/output.file/output.mbr

This shows me everything i want even the subdirs and files in it but it wont make the file count and tell me for example 25 files in ... directory.

Does anyone have an idea?
Thanks!


Moderator's Comments:
Mod Comment Please use CODE TAGS and a descriptive subject for your threads
 

6 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Script to connect to As400 database

Hi, could you please help me out what are the command line commands to connect to as400. Thanks, (0 Replies)
Discussion started by: mgirinath
0 Replies

2. HP-UX

Access AS400 from HP (RISC) Unix OS

Hi everyone, I am in the need of some software which will allow me to access IBM AS400 from HP unix operating system. I could download the software from IBM site for windows OS and it is working succesfully. I need to do the same on UNIX OS. Could you please guide me to some site... (1 Reply)
Discussion started by: vkoppula
1 Replies

3. UNIX for Advanced & Expert Users

linux connected to as400

we have a as400 5rev4 and want to use a rhel server to use as a file server. We exported a drive on the rhel box and then mounted it on the as400. We can see the top directory in our mounted as400 directory but when we attempt access subdirectories we get a no matching object error. When we open... (2 Replies)
Discussion started by: javagair
2 Replies

4. AIX

How to transfer files from AIX to AS400/i-series Integrated File System

Hi all, We (AIX) currently mount to a ZFS on the Mainframe. When one of our local users wants to transfer a file to the Mainframe, they must first run binary MVSLOGIN passing user name and password. Our mainframe will be retired soon and business processes will be transferring to an... (2 Replies)
Discussion started by: cruiser
2 Replies

5. UNIX for Advanced & Expert Users

How to argue for Unix vs. AS400/CICS

As a traveling consultant, my road took me to a massive Vegas Gaming operation, that runs it's shop with AS400/CICS. The legacy-4 rooms size- computer is protected more than fort Knox, and the level of trust that I earned is envious to many of the top leaders of the organization, and beyond. Yet... (0 Replies)
Discussion started by: sad_angle
0 Replies

6. AIX

aix installation on as400

Hi all! Is it possible to install AIX 6.1 over preinstalled Power Systems server with AS400?. Now hardware platfoem is identical. quote IBM had two discrete Power Architecture based hardware lines since the early 1990's. Servers running processors based on the PowerPC-AS in the AS/400... (3 Replies)
Discussion started by: Glykon
3 Replies
DH_INSTALLDEB(1)						     Debhelper							  DH_INSTALLDEB(1)

NAME
dh_installdeb - install files into the DEBIAN directory SYNOPSIS
dh_installdeb [debhelperoptions] DESCRIPTION
dh_installdeb is a debhelper program that is responsible for installing files into the DEBIAN directories in package build directories with the correct permissions. FILES
package.postinst package.preinst package.postrm package.prerm These maintainer scripts are installed into the DEBIAN directory. Inside the scripts, the token #DEBHELPER# is replaced with shell script snippets generated by other debhelper commands. package.triggers package.shlibs These control files are installed into the DEBIAN directory. package.conffiles This control file will be installed into the DEBIAN directory. In v3 compatibility mode and higher, all files in the etc/ directory in a package will automatically be flagged as conffiles by this program, so there is no need to list them manually here. package.maintscript Lines in this file correspond to dpkg-maintscript-helper(1) commands and parameters. Any shell metacharacters will be escaped, so arbitrary shell code cannot be inserted here. For example, a line such as "mv_conffile /etc/oldconffile /etc/newconffile" will insert maintainer script snippets into all maintainer scripts sufficient to move that conffile. A versioned Pre-Dependency on dpkg is needed to use dpkg-maintscript-helper(1). An appropriate Pre-Dependency is set in ${misc:Pre-Depends} ; you should make sure to put that token into an appropriate place in your debian/control file. SEE ALSO
debhelper(7) This program is a part of debhelper. AUTHOR
Joey Hess <joeyh@debian.org> 8.9.0ubuntu2.1 2012-06-12 DH_INSTALLDEB(1)
All times are GMT -4. The time now is 10:07 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy