Search Results

Search: Posts Made By: TechGyaann
7,825
Posted By TechGyaann
Thanks Robin. I am using ftp -siv HOSTNAME...
Thanks Robin.

I am using ftp -siv HOSTNAME PORT_NUM 2>&1 > ftp_log.log and private mode of connection is also enabled which ensures integrity.

Now I want to ensure if the file has been...
7,825
Posted By TechGyaann
I have implemented this., now I want to verify...
I have implemented this., now I want to verify the file

1. To check if file is transferred
2. The file is not corrupt

I have achieved (1) using nlist over FTP., later after closing FTP...
7,825
Posted By TechGyaann
Hi hicksd8, Thanks much for your response. ...
Hi hicksd8,

Thanks much for your response.
The intention was not to bump posts.

I was able to connect to the MVS password less using .netrc and give the command to put files into mvs.
...
7,825
Posted By TechGyaann
Hi All, I'm stuck on this., your help is...
Hi All,

I'm stuck on this., your help is much appreciated.

using below command:

ftp -siv $REMOTE_SERVER $REMOTE_PORT << `cat $TMP_BATCH_FTP`

still im not able to get what I want.
...
Forum: AIX 12-26-2017
4,078
Posted By TechGyaann
Thanks bakunin.., for taking your time and...
Thanks bakunin.., for taking your time and sharing your point.

But I am still not sure what is SNA, how to get if we have SNA.
Cant I just write a script to NDM the files from AIX to Mainframe...
Forum: Fedora 12-22-2017
21,839
Posted By TechGyaann
Thank you !!
Thank you !!
Forum: AIX 12-22-2017
4,078
Posted By TechGyaann
AIX Forum: FTP from AIX to Mainframe
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...
7,825
Posted By TechGyaann
f_FTP_MVS() { echo 'user $REMOTE_USER...
f_FTP_MVS()
{

echo 'user $REMOTE_USER $REMOTE_USER_PASS' > $TMP_BATCH_FTP
echo 'type binary' >> $TMP_BATCH_FTP
echo 'passive' >> $TMP_BATCH_FTP
cat $TMP_BATCH_FILE >> $TMP_BATCH_FTP...
Forum: Fedora 12-21-2017
21,839
Posted By TechGyaann
Thank you. May I know where to learn all these...
Thank you. May I know where to learn all these commands please?

I want to learn basics like how to install, uninstall.
Where will the files get copied if i install., and other stuffs.
7,825
Posted By TechGyaann
Thanks Corona688... Got your point. The...
Thanks Corona688...

Got your point.

The point is we dont have SSH option to Mainframe. so SFTP, SCP and SSH options ruled out. :(

So we are left with FTP and NDM.
7,825
Posted By TechGyaann
Wow.. that's lot of learning from just few...
Wow.. that's lot of learning from just few interaction..



This is what I understood.

Step 1. Open a Control channel & data channel.. put the file
Step 2. Create a nlist to get the info of...
7,825
Posted By TechGyaann
Thanks Much Corona688., appreciate your help. I...
Thanks Much Corona688., appreciate your help.
I have to implement this functionality using FTP.

Ok., since you have given me the above code I would like to ask few questions.

A. Using FTP...
Forum: Fedora 12-21-2017
21,839
Posted By TechGyaann
Fedora: Uninstall Java JDK 1.8 and install Oracle Java 1.7.15
Hi All,

I have just downloaded fedora 27 iso and set it up in virtual box.

I want to learn Hadoop so trying to install Apache hadoop. Before all those I have to install Oracle Java 1.7.15 (as...
7,825
Posted By TechGyaann
Ok Sure. That was additional question on top of...
Ok Sure. That was additional question on top of that.
This has resolved the first blocker.

Now how do I verify the transferred file to Mainframe; below are the scenarios:
1. FTP the currently...
7,825
Posted By TechGyaann
Thanks hicksd8 and Corona688. I tried the...
Thanks hicksd8 and Corona688.

I tried the same earlier but dint work, probably coz I dint give .netrc 600.

Its working now., password less.


one more question on top of it., As suggested...
7,825
Posted By TechGyaann
FTP from AIX to Mainframe
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...
1,326
Posted By TechGyaann
Chubler_XL, Can you please explain me so that I...
Chubler_XL, Can you please explain me so that I will understand it.

Eg: https://www.unix.com/302963081-post9.html
1,326
Posted By TechGyaann
Thanks @Chubler_XL. I will go through the code....
Thanks @Chubler_XL.
I will go through the code. try to execute it and comment more on it. :)
1,326
Posted By TechGyaann
Pattern Matching and creating output
HI Unix Forum,

My requirement

I have two set of Patterns UBA and CIE for which different Phases are there which will have Start and End time. They are not in same order.

I want the...
3,804
Posted By TechGyaann
Yeah that was a Typo. I shall try it, hope...
Yeah that was a Typo.

I shall try it, hope it should work. (not sure about gsub etc.. im learning awk and unix shell scripting)
3,804
Posted By TechGyaann
Output file with <Tab> or <Space> Delimited
Input file:
xyz,pqrs.lmno,NA,NA,NA,NA,NA,NA,NA
abcd,pqrs.xyz,NA,NA,NA,NA,NA,NA,NA

Expected Output:

xyz pqrs.lmno NA NA NA NA NA NA NA
abcd pqrs.xyz NA NA NA NA NA NA NA


...
1,493
Posted By TechGyaann
Thanks., OOO, I shall check and get back to you...
Thanks., OOO, I shall check and get back to you if further discussion/clarification required on this.

---------- Post updated 12-31-15 at 11:04 AM ---------- Previous update was 12-30-15 at 10:19...
1,493
Posted By TechGyaann
Not working. Code: grep -i "avc"...
Not working.

Code:
grep -i "avc" $DNA_PARM/Master_Graph_List.csv | wc -l | tr -d '\t' Ouptut:
1,493
Posted By TechGyaann
Number of Lines in a file
Hi All,

This is my Scenario:
I wanted to check if a particular name or pattern is present in a file based of that rest of the program should proceed.
I want to print '0' if no matching found.
...
2,146
Posted By TechGyaann
Thank you Don Cragun. Your comments helped me a...
Thank you Don Cragun.
Your comments helped me a lot.

---------- Post updated at 12:28 PM ---------- Previous update was at 12:01 PM ----------

Slightly modified the code.
#!/bin/ksh
G=$1...
Showing results 1 to 25 of 29

 
All times are GMT -4. The time now is 05:37 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy