AS400


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting AS400
# 1  
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
Login or Register to Ask a Question

Previous Thread | Next Thread

6 More Discussions You Might Find Interesting

1. 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

2. 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

3. 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

4. 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

5. 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

6. 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
Login or Register to Ask a Question