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
qmail-control(5)						File Formats Manual						  qmail-control(5)

NAME
qmail-control - qmail configuration files INTRODUCTION
You can change the behavior of the qmail system by modifying qmail's control files in /var/lib/qmail/control. qmail can survive with just one control file, me, containing the fully-qualified name of the current host. This file is used as the default for other hostname-related control files. Comments are allowed in badmailfrom, locals, percenthack, qmqpservers, rcpthosts, smtproutes, and virtualdomains. Trailing spaces and tabs are allowed in any control file. The following table lists all control files other than me. See the corresponding man pages for further details. control default used by badmailfrom (none) qmail-smtpd bouncefrom MAILER-DAEMON qmail-send bouncehost me qmail-send concurrencylocal 10 qmail-send concurrencyremote 20 qmail-send defaultdomain me qmail-inject defaulthost me qmail-inject databytes 0 qmail-smtpd doublebouncehost me qmail-send doublebounceto postmaster qmail-send envnoathost me qmail-send helohost me qmail-remote idhost me qmail-inject localiphost me qmail-smtpd locals me qmail-send morercpthosts (none) qmail-smtpd percenthack (none) qmail-send plusdomain me qmail-inject qmqpservers (none) qmail-qmqpc queuelifetime 604800 qmail-send rcpthosts (none) qmail-smtpd smtpgreeting me qmail-smtpd smtproutes (none) qmail-remote timeoutconnect 60 qmail-remote timeoutremote 1200 qmail-remote timeoutsmtpd 1200 qmail-smtpd virtualdomains (none) qmail-send SEE ALSO
qmail-inject(8), qmail-qmqpc(8), qmail-remote(8), qmail-send(8), qmail-showctl(8), qmail-smtpd(8) qmail-control(5)