Hi,
I have attached a cobol program that does what I described. Also sample JCL. The cobol program was originally written for use on VSE, but now works under MVS. You might also check out the forums at:MVSFORUMS.com :: Index . They probably could come up with a better solution as this was written with an older version of cobol.
I built a PC I intended on using to run Linux. It was using a AMD XP 2000 processor, had a 80 gig hard drive, and 256 mb of ram. I got it all connected and working and installed OpenLinux (from book "Learn Linux in 24 hours" that came with a instillation CD). My intent was to take about a month... (18 Replies)
Hi,
I'm not sure if this has been solved in this forum already but please do help me out if possible. Basically, I've already setup a passwordless SSH connection between 2 AIX IDs (say ID-1 and ID-2) with a Mainframe server ID (say MVSID). I'm able to successfully do an SSH from the AIX server to... (1 Reply)
Hi,
I have a task of setting up connectivity between Oracle 10g (AIX) and Mainframe (1 library). Went through couple of documents, forums, blogs etc. MY understanding is ODBC Generic Connectivity is free from Oracle side.
Question: (may be dumb to you)
1. Has anybody done this and would... (3 Replies)
Hi All,
I am a beginner for shell programming. I have a requirement to ftp multiple files. Here are the details.
I have around thiry files in one directory, I want a shell script which selects 5 files at a time and does ftp them to another host . After the transfer for first files is... (0 Replies)
Hi Friends,
My requirement is - I have to FTP a list of files from one server to another sever. I am using following code :
ftp -i -n << EOF >> abc.txt
open $COM_FTP_RHOST
user $COM_FTP_USER $COM_FTP_PASSWORD
cd $COM_FTP_PATH ( some folder )
ls -ltr filename*
bye
EOF
After... (1 Reply)
Hi,
I have a shell script which is residing on AIX which is triggered by Mainframe through Connect Direct. The shell script creates several files and sends those files to mainframe using Connect Direct. The shell script is working fine, still it is returning exit code 2 to mainframe.
What... (0 Replies)
Hi,
I need a command/script, who opened my dataset, consider a situation like, if a user has opened the dataset few days back then, that command/script should list his/her id.
I don't want audit on my dataset, i need only list of users who are using my dataset.
Thank you. (10 Replies)
Hi All,
This is the scenario:-
I am writing a script to automate FTP files from AIX to Mainframe. ( Binary mode, passive connection)
FTP the currently available files(poll a directory to find the list) and put it to mainframe in one connection instance
Verify if all the files are copied... (24 Replies)
This discussion thread is an extension to what was discussed in Shell scripting section.
Please refer the post for the requirement:
Requirement Post - Click Here
The whole thread - Click Here
I would like to know how I can use NDM to transfer file from AIX to Mainframe and to verify the... (3 Replies)
Discussion started by: TechGyaann
3 Replies
LEARN ABOUT SUNOS
wsreg_get_type
wsreg_set_type(3WSREG) Product Install Registry Library Functions wsreg_set_type(3WSREG)NAME
wsreg_set_type, wsreg_get_type - set or get the type of a component
SYNOPSIS
cc [ flag... ] file ... -lwsreg [ library ... ]
#include <wsreg.h>
int wsreg_set_type(Wsreg_component *comp, Wsreg_component_type type);
Wsreg_component_type wsreg_get_type(const Wsreg_component *comp);
DESCRIPTION
The wsreg_set_type() function sets the type specified by type in the component specified by comp.
The wsreg_get_type() function retrieves the type from the component specified by comp.
RETURN VALUES
The wsreg_set_type() function returns a non-zero value if the type is set successfully; otherwise 0 is returned.
The wsreg_get_type() function returns the type currently set in the component specified by comp.
USAGE
The component type is used to indicate whether a Wsreg_component structure represents a product, feature, or component. The type argument
can be one of the following:
WSREG_PRODUCT Indicates the Wsreg_component represents a product. A product is a collection of features and/or components.
WSREG_FEATURE Indicates the Wsreg_component represents a feature. A feature is a collection of components.
WSREG_COMPONENT Indicates the Wsreg_component represents a component. A component is a collection of files that may be installed.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|MT-Level |Unsafe |
+-----------------------------+-----------------------------+
SEE ALSO wsreg_create_component(3WSREG), wsreg_initialize(3WSREG), wsreg_register(3WSREG), wsreg_set_instance(3WSREG), attributes(5)SunOS 5.10 22 Sep 2000 wsreg_set_type(3WSREG)