File Versions (GDG)


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers File Versions (GDG)
# 1  
Old 07-27-2005
File Versions (GDG)

Hi There,

This is more a question for the 'mainframers' of old.

I need a control structure (AIX) very similar to "GDG" files (Generation data group) as found on OS/390 to control versions of files.

Specific files have specific needs, some need to be kept for 5 versions, some for 30 and some for 100.

When you add a new file, then the oldest version of the file must automatically be deleted (continuously rolling over).

Any ideas how it can be done??

Tks

Bizcut
This User Gave Thanks to Bizcut For This Post:
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Merge different versions of file in UNIX

Hello Experts, I want to merge my local file (File1) with the changes in remote server (File1). For Example: File1 contents are... (file @ remote server) ABC <blankLine> GHI <EOF> I, as USER#1, have updated the contents of File1 in my local as... ABC DEFGhi <blankLine> JKL... (2 Replies)
Discussion started by: AjMyTechGroup
2 Replies

2. Shell Programming and Scripting

Remove file versions

Hi All, I have a difficult problem (at least for me) and need your help. Situation is like this, there are a lot of files in a lot of folders and some of them files are just versions of the same file saved by careful users . Once every few months I have to clean up and keep the last version of... (2 Replies)
Discussion started by: mihaicris
2 Replies

3. Shell Programming and Scripting

Script to maintain file versions

I am developing a script to maintain 'n' number of versions of a file. The script will take a filename as a parameter and the number of versions to maintain. This basically does something like a FIFO. Here is what I developed. But something is not right. I have attached the script. Can u pls help... (2 Replies)
Discussion started by: vskr72
2 Replies

4. Shell Programming and Scripting

SSH command for new GDG genration

Hi, I am trying to SSH to a GDG file from UNIX to Mainframe and it is not transferring it and giving error. I gave the following command and as can be seen I am using the relative number i.e +1 here: ssh -v username@remote.host "mv -P RECFM=FB,LRECL=150 /homedir/username/test.dat... (0 Replies)
Discussion started by: pravle
0 Replies

5. UNIX for Dummies Questions & Answers

To check if the latest version of given GDG base has data

Hi All , I am trying to run a shell script through a JCL . The requirement is I have a gdg base name and I need to create a script that will just check if the latest version of that gdg has data or not . If it doesnt have data RC 4 need to be returned . One more thing which is bothering me is i... (1 Reply)
Discussion started by: mavesum
1 Replies

6. Shell Programming and Scripting

To check if the latest version of given GDG base has data

Hi All , I am trying to run a shell script through a JCL . The requirement is I have a gdg base name and I need to create a script that will just check if the latest version of that gdg has data or not . If it doesnt have data RC 4 need to be returned . One more thing which is bothering me is i... (3 Replies)
Discussion started by: mavesum
3 Replies

7. UNIX for Dummies Questions & Answers

Script for FTPing files to mainframe GDG

Hi, Request Unix gurus to kindly share a script which FTPs multiple files from Unix to a Mainframe GDG. The script should check for oldest file named as 'abc*.txt' in a directory '/dir/child'. FTP that file to MF, then remove the file from unix and then look for the next oldest file to be... (1 Reply)
Discussion started by: dsrookie
1 Replies

8. UNIX for Dummies Questions & Answers

GDG in AIX?

Does anyone know how to emulate Mainframe's GDG (Generation Data Group) in AIX? (0 Replies)
Discussion started by: vidhya
0 Replies

9. AIX

GDG's on AIX

Hi, Does anyone have a solution they can share that will emulate Mainframe Generation Data Groups (GDG) on AIX? Thank You in Advance for Your Help, Lou (0 Replies)
Discussion started by: LouPelagalli
0 Replies

10. Shell Programming and Scripting

different versions of the same file.

How can I find out in UNIX the number of superusers logged in at a system at a given time??? (2 Replies)
Discussion started by: deeptia
2 Replies
Login or Register to Ask a Question
SYSTEMD-CGLS(1) 						   systemd-cgls 						   SYSTEMD-CGLS(1)

NAME
systemd-cgls - Recursively show control group contents SYNOPSIS
systemd-cgls [OPTIONS...] [CGROUP...] DESCRIPTION
systemd-cgls recursively shows the contents of the selected Linux control group hierarchy in a tree. If arguments are specified shows all member processes of the specified control groups plus all their subgroups and their members. The control groups may either be specified by their full file paths or are assumed in the systemd control group hierarchy. If no argument is specified and the current working directory is beneath the control group mount point /sys/fs/cgroup shows the contents of the control group the working directory refers to. Otherwise the full systemd control group hierarchy is shown. OPTIONS
The following options are understood: -h, --help Prints a short help text and exits. --no-pager Do not pipe output into a pager. -k Include kernel threads in output. EXIT STATUS
On success 0 is returned, a non-zero failure code otherwise. SEE ALSO
systemd(1), systemctl(1), systemd-cgtop(1), ps(1) AUTHOR
Lennart Poettering <lennart@poettering.net> Developer systemd 10/07/2013 SYSTEMD-CGLS(1)